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.
Modeling Money in PHP: Your Own Value Object vs brick/money Behind a Port

Modeling Money in PHP: Your Own Value Object vs brick/money Behind a Port

Comments
7 min read
OOP - Make Your Code More Scalable

OOP - Make Your Code More Scalable

1
Comments 2
7 min read
Building SkyIndia Weather API Platform

Building SkyIndia Weather API Platform

Comments
1 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
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
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
Building a Modular Ecosystem: How I’m Rethinking the CLI for My Personal

Building a Modular Ecosystem: How I’m Rethinking the CLI for My Personal

Comments
2 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
Polanger RP: A Modern, Lightweight Alternative to TGM Plugin Activation

Polanger RP: A Modern, Lightweight Alternative to TGM Plugin Activation

Comments
2 min read
PHP Arrays to TypeScript: When It Is a Record, a Tuple, or a Real Type

PHP Arrays to TypeScript: When It Is a Record, a Tuple, or a Real Type

Comments
6 min read
Input and Output DTOs: Drawing the Application Boundary in PHP

Input and Output DTOs: Drawing the Application Boundary in PHP

Comments
7 min read
Contract Tests in PHP: Proving Every Adapter Honors Its Port

Contract Tests in PHP: Proving Every Adapter Honors Its Port

Comments
6 min read
Feature Flags Without Coupling: A Flag Port for the PHP Domain

Feature Flags Without Coupling: A Flag Port for the PHP Domain

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