Blog
Thoughts, tutorials, and things I've learned along the way.
Handling Nullable Strings in Livewire New
An empty input in Livewire saves an empty string, not null. It fails silently, quietly splitting your nullable columns in two — here's why Livewire does it on purpose, and the Form base class that fixes it.
livewire
laravel
php
Adaptive Livewire Components with Wireable & Modelable
How to build one Livewire component that adapts its UI per page — using Wireable, Modelable, and capability interfaces instead of prop explosion.
livewire
laravel
php
architecture
Template Method in Laravel
How to structure export processes in Laravel using the Template Method pattern — one base class, many variants, zero duplication.
laravel
design-patterns
php
Discovery-Based Architecture in PHP
Decoupled matching via PHP Attributes and Reflection, explained with webhook event handlers. How to build flexible, auto-discovering structures instead of growing if/match blocks.
php
laravel
architecture