Building AI Agents with Laravel: Tools, Memory, and Reasoning Loops
Go beyond simple LLM API calls. Build AI agents in Laravel that use tools, maintain memory, reason in loops, and take actions — with practical code examples.
184 posts published
Go beyond simple LLM API calls. Build AI agents in Laravel that use tools, maintain memory, reason in loops, and take actions — with practical code examples.
Go beyond Cache::get/set. Master Redis data structures, pub/sub, Lua scripting, rate limiting, sessions, and real-time features in Laravel.
Implement distributed tracing, metrics, and structured logging in Laravel with OpenTelemetry. Export to Jaeger, Grafana, and Datadog for full production observability.
URI-based, header-based, and query parameter versioning strategies for Laravel APIs. Maintain backward compatibility without breaking existing clients.
Build robust webhook receivers in Laravel. Signature verification, idempotency, async processing, retry handling, and real-world patterns for Stripe, GitHub, and more.
Replace fat controllers and bloated services with focused Action classes. One class, one job, fully testable. A modern alternative to the Service-Repository pattern.
A detailed guide to configuring and analyzing MySQL Slow Query Log, using tools like pt-query-digest, and building a comprehensive query performance monitoring workflow.
Understand PHP Fibers (PHP 8.1+), cooperative multitasking, async HTTP calls, and how frameworks like Laravel Octane and ReactPHP leverage them.
A comprehensive guide to indexing strategies in MySQL: from B-Tree, Hash, Full-text to Composite Index, Covering Index, and anti-patterns to avoid.
Learn Event Sourcing and CQRS patterns in Laravel with Spatie's event-sourcing package. Build an audit trail, replay events, and separate read/write models.