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.
Bounded Contexts in PHP: Why Your App Should Be 4 Apps in One Codebase

Bounded Contexts in PHP: Why Your App Should Be 4 Apps in One Codebase

Comments
9 min read
Domain Services in PHP: The Rare Class That Actually Belongs in Your Domain

Domain Services in PHP: The Rare Class That Actually Belongs in Your Domain

Comments
8 min read
Laravel Policies vs Gates: The Complete Authorization Guide

Laravel Policies vs Gates: The Complete Authorization Guide

Comments
11 min read
How Can I Improve Performance and Security in PHP Development?

How Can I Improve Performance and Security in PHP Development?

3
Comments
1 min read
I built a Laravel PDF package because I was tired of debugging screenshots from ghosts

I built a Laravel PDF package because I was tired of debugging screenshots from ghosts

8
Comments
2 min read
PHP 8.4 Asymmetric Visibility: The Feature That Finally Lets You Build Real Value Objects

PHP 8.4 Asymmetric Visibility: The Feature That Finally Lets You Build Real Value Objects

1
Comments
10 min read
Migrating a Legacy Laravel Service to Hexagonal, Incrementally

Migrating a Legacy Laravel Service to Hexagonal, Incrementally

Comments
12 min read
The Strangler Pattern in PHP: Shipping Two Architectures at Once for a Year

The Strangler Pattern in PHP: Shipping Two Architectures at Once for a Year

Comments
10 min read
laravel-crypto: libsodium, no compromises, and per-user encryption

laravel-crypto: libsodium, no compromises, and per-user encryption

3
Comments
7 min read
Result Types in PHP: Stop Throwing Exceptions for Business Errors

Result Types in PHP: Stop Throwing Exceptions for Business Errors

Comments
8 min read
Observability Without Coupling: Logging, Tracing, and Metrics Through Ports

Observability Without Coupling: Logging, Tracing, and Metrics Through Ports

Comments
11 min read
When Hexagonal Architecture Is Overkill

When Hexagonal Architecture Is Overkill

Comments
11 min read
Clean Architecture's Four Rings, Translated to PHP

Clean Architecture's Four Rings, Translated to PHP

3
Comments 1
9 min read
Symfony Is Also an Adapter (Yes, Even With All Its Glue)

Symfony Is Also an Adapter (Yes, Even With All Its Glue)

2
Comments
9 min read
The Orphaned ID Bug from My First Job (And What It Taught Me About Being a Junior Dev)

The Orphaned ID Bug from My First Job (And What It Taught Me About Being a Junior Dev)

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