Tools, patterns and delivery
From a working script to a shipped application: command line tools, the SPL classes, OPcache, static analysis, refactoring, PSR-12, the strategy, factory, repository and observer patterns, hand tests, performance and deployment.
099
CLI applications
argv input, exit codes, colours, and interactive prompts
Open
100
SPL essentials
SPL for files, stacks, queues, fixed arrays, and a simple autoloader
Open
101
OPcache deep dive
OPcache status, timestamp validation, preloading, and the CLI behaviour
Open
102
Static analysis
PHPStan levels, Psalm checks, baselines, and a CI gate
Open
103
Refactoring
extract method, careful renames, a duplication hunt, and retests
Open
104
PSR-12 style
file layout, spacing rules, and PHPCS enforcing PSR-12
Open
105
Strategy and factory
strategy objects and small factories in place of messy conditionals
Open
106
Repository and observer
repositories, observers, and a tiny event dispatcher
Open
107
Testing without frameworks
hand asserts, table cases, and a red-green habit, no framework
Open
108
Performance
measure first, cache the result, enable OPcache, profile the hot path
Open
109
Deploy PHP
a calm checklist, env files, safe migrations, and a rollback plan
Open