PHP Enums Are More Powerful Than You Think
Go beyond basic PHP enums. Learn to implement interfaces, add methods, use enums in Eloquent casts, and replace scattered constants across your codebase.
Tutorials, insights, and practical guides on Laravel, PHP, Tailwind, and building better web applications.
Go beyond basic PHP enums. Learn to implement interfaces, add methods, use enums in Eloquent casts, and replace scattered constants across your codebase.
Get reliable structured JSON from AI APIs using function calling, JSON mode, and schema enforcement. Validate, parse, and handle failures in PHP.
A practical guide to interviewing remote developers. Covers async challenges, live coding, evaluating communication skills, and removing timezone bias.
After a year of daily AI pair programming with GitHub Copilot and Claude Code, here's my honest framework for when to trust AI-generated code and when to rewrite it yourself.
Step-by-step Laravel Livewire search tutorial: build a real-time search component with debounce, filters, pagination, URL sync, and result highlighting — no JavaScript needed.
Laravel collection methods you're probably not using yet — sole, reduce, partition, sliding, lazy, and more. Practical PHP examples that replace verbose foreach loops with clean pipelines.
A practical Tailwind CSS v4 migration guide covering the new @theme directive, CSS-first config, deprecated utilities, Vite plugin changes, and the gotchas that'll trip you up.
Learn PHP 8.4 property hooks with practical examples — replace boilerplate getters and setters, add inline validation, and build self-enforcing value objects with virtual properties and asymmetric visibility.
Learn why calling env() outside config files breaks Laravel caching and causes subtle production bugs. Fix it with proper config file patterns.