fsck.sh

A tech blog about system administration, development, and all things UNIX.

Latest Posts

PHP's Great Decade: A Deep Dive Into a Modern Renaissance (2014-2024)

Forget the high-level summary. This is a deep dive. We're going under the hood to see exactly how PHP doubled its performance with Zend Engine 3's zval optimizations. We'll trace the entire evolution of the type system, feature by feature. We'll look at the code-level impact of Attributes, Fibers, and the JIT. This is the definitive story of PHP's comeback.
Read more β†’

PHP Meets AI: The 2025 Developer's Guide to Machine Learning Integration

PHP's AI ecosystem has exploded in 2025 with frameworks like LLPhant and TransformersPHP leading the charge. Discover how to integrate machine learning into your PHP applications, navigate security challenges like CVE-2024-4577, and leverage PHP 8.5's new features for better AI workflows. A practical, no-nonsense guide with real code examples.
Read more β†’

Symfony 8.0: November Release Delivers Massive Performance Improvements

Symfony 8.0 is on the horizon, promising revolutionary performance improvements. With PHP 8.4 Lazy Objects, optimized container compilation, and 4x faster FrankenPHP, the November release could finally solve the performance issues that have plagued developers for years. But do these promises hold up under critical scrutiny?
Read more β†’

DDD with Event Sourcing: How to Build Aggregates That Don't Explode

Your User aggregate is a 3000-line monster that handles everything from passwords to profile pictures. It's a ticking time bomb. We'll show you how to defuse it using Domain-Driven Design and Event Sourcing with the patchlevel/eventsourcing library, focusing on the two most critical concepts: the Aggregate Root's real job and how to kill God Objects.
Read more β†’

Makefile Magic: Supercharging PHP Quality Tools

Composer scripts are nice, but when your test suite runs longer than your lunch break, it's time to bring out the big guns. I'll show you how Makefiles and Docker can make your PHP quality tools fly – including parallel execution and modular architecture.
Read more β†’

Async PHP is Here: A Practical Guide to Fibers

For years, true async in PHP felt like a distant dream, hacked together with generators or complex libraries. PHP 8.1's Fibers changed the game. This is a practical, hands-on guide to understanding and using Fibers to write non-blocking, concurrent code that is both powerful and readable.
Read more β†’