DEV Community

PHP

Home for all the PHP-related posts on Dev.to!

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Beyond Fat Controllers: Mastering Event-Driven Decoupling in Laravel

Beyond Fat Controllers: Mastering Event-Driven Decoupling in Laravel

1
Comments
4 min read
Retries and Circuit Breakers Belong in the Adapter, Not Your Use Case

Retries and Circuit Breakers Belong in the Adapter, Not Your Use Case

Comments
6 min read
A Domain Logger Port: Decoupling From PSR-3 Without Losing Context

A Domain Logger Port: Decoupling From PSR-3 Without Losing Context

Comments
7 min read
Query Objects in PHP: Rich Filtering Without Leaking SQL Into the Domain

Query Objects in PHP: Rich Filtering Without Leaking SQL Into the Domain

Comments
7 min read
Persisting One Aggregate Across Multiple Tables, ORM-Agnostic

Persisting One Aggregate Across Multiple Tables, ORM-Agnostic

Comments
7 min read
Hand-Rolled Mappers vs AutoMapper: Keeping the PHP Domain Pure at the Boundary

Hand-Rolled Mappers vs AutoMapper: Keeping the PHP Domain Pure at the Boundary

Comments
6 min read
Translate Infrastructure Errors at the Adapter, Not in Your Domain

Translate Infrastructure Errors at the Adapter, Not in Your Domain

Comments
6 min read
How a PHP SDK Can Save You Hundreds of Lines of API Integration Code

How a PHP SDK Can Save You Hundreds of Lines of API Integration Code

Comments
3 min read
How We Reduced LLM Costs by 95%: Cache + Batch + Cascade in PHP

How We Reduced LLM Costs by 95%: Cache + Batch + Cascade in PHP

Comments
7 min read
WordPress was the SaaS stack all along — we just had to build the missing piece

WordPress was the SaaS stack all along — we just had to build the missing piece

1
Comments 1
2 min read
Em 2026, alguém ainda usa Blade? Deveria — e tem um motivo escondido

Em 2026, alguém ainda usa Blade? Deveria — e tem um motivo escondido

1
Comments
3 min read
Using SurrealDB Graph Queries to Power Video Recommendations

Using SurrealDB Graph Queries to Power Video Recommendations

Comments
8 min read
Livewire: gambiarra genial ou bomba-relógio de performance?

Livewire: gambiarra genial ou bomba-relógio de performance?

Comments
3 min read
Inertia matou a API REST do seu projeto Laravel (e talvez tenha feito um favor)

Inertia matou a API REST do seu projeto Laravel (e talvez tenha feito um favor)

Comments
4 min read
Action Classes: o padrão simples que substitui aquele Service gigante

Action Classes: o padrão simples que substitui aquele Service gigante

Comments
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.