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.
Envelope Encryption for .env Files, the Right Way (PHP CLI, Stdlib Only)

Envelope Encryption for .env Files, the Right Way (PHP CLI, Stdlib Only)

Comments
9 min read
The Outbox Pattern in PHP from Scratch (No Library, 80 Lines)

The Outbox Pattern in PHP from Scratch (No Library, 80 Lines)

1
Comments
8 min read
Application Services vs Use Cases: The Actual Difference

Application Services vs Use Cases: The Actual Difference

1
Comments
8 min read
Mutation Testing as Architecture Enforcement: Infection in 2026

Mutation Testing as Architecture Enforcement: Infection in 2026

Comments
8 min read
Property-Based Testing for Domain Rules in PHP

Property-Based Testing for Domain Rules in PHP

Comments 1
9 min read
Parsing phpinfo() in Pure PHP — or, How to Diff Two Containers

Parsing phpinfo() in Pure PHP — or, How to Diff Two Containers

Comments
8 min read
How I Built a Hospital Management System with Laravel

How I Built a Hospital Management System with Laravel

2
Comments
3 min read
Writing a Safe SQL INSERT Generator Taught Me Why ORMs Exist

Writing a Safe SQL INSERT Generator Taught Me Why ORMs Exist

Comments
7 min read
PHP as a Microservice: A Markdown-to-HTML API in 200 Lines of Slim 4

PHP as a Microservice: A Markdown-to-HTML API in 200 Lines of Slim 4

Comments
8 min read
RFC 5545 is a 200-Page Spec. Your iCalendar Feed Needs About 150 Lines.

RFC 5545 is a 200-Page Spec. Your iCalendar Feed Needs About 150 Lines.

Comments
9 min read
Read composer.lock Directly: A 1000-Line CLI That Beats composer show --tree

Read composer.lock Directly: A 1000-Line CLI That Beats composer show --tree

Comments
8 min read
Have you started yet, Bobby?!

Have you started yet, Bobby?!

Comments
3 min read
OpenTelemetry for Symfony: v2.0 is out

OpenTelemetry for Symfony: v2.0 is out

4
Comments
3 min read
Three Layers vs Four Layers: When the Application Layer Earns Its Keep

Three Layers vs Four Layers: When the Application Layer Earns Its Keep

2
Comments
8 min read
Named Constructors in PHP: Why Order::place() Beats new Order(...)

Named Constructors in PHP: Why Order::place() Beats new Order(...)

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