ThakurCoder

Tag: Laravel

Posts tagged with "Laravel"

Laravel
Architecture
Scalability

Hexagonal Architecture in Laravel: Code That Lasts Longer Than Frameworks

Laravel makes it easy to ship fast, but that often leads to tight coupling between business logic and infrastructure. Hexagonal Architecture (Ports & Adapters) helps by separating your core domain from frameworks and vendors, making tests faster, integrations swappable, and long-term maintenance smoother. In this blog, we'll break down what Hexagonal means in Laravel terms, where it shines, where it's overkill, and how it compares with MVC and other approaches.

August 29, 20254 min read
Laravel
AI

Building AI-Powered Applications with Laravel Using the MCP SDK

Learn how to use the Laravel MCP SDK to build MCP servers that allow AI assistants like Claude and ChatGPT to interact with your Laravel application through standardized tools, resources, and prompts.

July 30, 20258 min read
Event Sourcing
Laravel

Laravel Event-Driven Architecture: Building Recommendation Systems That Scale to Millions

Complete guide to building scalable recommendation systems in Laravel using event-driven architecture. Covers Spatie Event Sourcing vs Verbs, CQRS patterns, real-time broadcasting, and microservices architecture with practical code examples and production insights from companies like Fathom Analytics.

June 2, 202512 min read
Laravel
PHP

Effective Use of Try-Catch in Laravel: Best Practices and Layers

Discover how to use try-catch blocks effectively in Laravel for clean architecture and robust error handling.

May 23, 202518 min read
Laravel
PHP
Performance
+1

How to Optimize Your Code for Better Performance

Learn essential tips and practical examples on how to optimize your PHP and Laravel applications to run faster and smoother, including caching, eager loading, smarter algorithms, and using helpful profiling tools.

March 24, 20253 min read
Laravel
PHP
Pinned

A Fun Adventure into Defensive Programming

Discover how defensive programming makes your code strong and reliable, explained in a fun way with PHP and Laravel examples—like building a superhero robot that never breaks!

March 23, 20256 min read
Development Tools
Laravel
PHP

Deep Dive: Livewire Component Updates in Laravel 12

In this blog post, we analyze the recent Livewire component updates in Laravel 12, focusing on its traditional component flavor and how it enhances server-side rendering and dynamic UI development.

February 24, 20254 min read
Database
Laravel

Understanding and Using updateOrInsert, updateOrCreate, and upsert in Laravel

Learn the key differences between Laravel's updateOrInsert, updateOrCreate, and upsert. This blog will help you understand when and why to use each method to streamline your database operations.

January 14, 20255 min read
Architecture
Laravel

Getting Familiar with Event Sourcing in Laravel

Event sourcing is a powerful architecture pattern for handling complex data changes over time. This blog will introduce you to the principles of event sourcing and demonstrate how to use it in your Laravel applications with the Spatie package.

January 10, 20255 min read
Laravel
Server

Exploring Laravel Octane: Enhancing PHP Application Performance

🚀 Laravel has consistently been a go-to framework for PHP developers due to its elegant syntax, robust features, and thriving ecosystem. With the introduction of Laravel Octane, Laravel takes a s...

November 14, 20243 min read