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.
Authorization in Use Cases, Not Controllers

Authorization in Use Cases, Not Controllers

Comments
8 min read
Where Input Validation Lives: Controllers, Use Cases, or Domain?

Where Input Validation Lives: Controllers, Use Cases, or Domain?

Comments
10 min read
Pagination: Does It Belong in the Domain or in the Adapter?

Pagination: Does It Belong in the Domain or in the Adapter?

Comments
8 min read
Contract Testing for PHP Microservices with Pact

Contract Testing for PHP Microservices with Pact

Comments
13 min read
Enums as State Machines: Modeling Order Status the Right Way in PHP 8.3

Enums as State Machines: Modeling Order Status the Right Way in PHP 8.3

Comments
7 min read
Laravel Octane and Hexagonal: What Long-Lived Workers Actually Change

Laravel Octane and Hexagonal: What Long-Lived Workers Actually Change

Comments
8 min read
Pessimistic vs Optimistic Locking in Hexagonal PHP

Pessimistic vs Optimistic Locking in Hexagonal PHP

Comments
9 min read
Why "Manager" Classes Are a Code Smell (And What to Replace Them With)

Why "Manager" Classes Are a Code Smell (And What to Replace Them With)

Comments
8 min read
Don't Mock What You Don't Own: The Stripe Adapter Pattern in PHP

Don't Mock What You Don't Own: The Stripe Adapter Pattern in PHP

Comments
10 min read
Idempotency Keys in PHP: Stop Charging Customers Twice

Idempotency Keys in PHP: Stop Charging Customers Twice

Comments
9 min read
Tell, Don't Ask: The Rule That Decides Where Your PHP Methods Live

Tell, Don't Ask: The Rule That Decides Where Your PHP Methods Live

Comments
9 min read
Symfony Messenger as a Domain-Event Adapter (Without the Coupling)

Symfony Messenger as a Domain-Event Adapter (Without the Coupling)

2
Comments
8 min read
Aggregate Roots: Why Your Entity Needs a Private Constructor in PHP

Aggregate Roots: Why Your Entity Needs a Private Constructor in PHP

Comments
8 min read
telegram-wallet-php: The Complete PHP SDK for Accepting Crypto Payments in Telegram

telegram-wallet-php: The Complete PHP SDK for Accepting Crypto Payments in Telegram

Comments
13 min read
The Saga Pattern in PHP: Long-Running Workflows Without a Workflow Engine

The Saga Pattern in PHP: Long-Running Workflows Without a Workflow Engine

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