Alright, fine. I will build something.
Built a website that makes the obligatory dnd "shopping sessions" suck less. Check it out. And, of course, built on Laravel.
https://t.co/ixabdmEYfS
->pluck() is such a useful attribute. It lets you return an array of the selected attributes rather than pulling the whole model and mapping through them.
It has cleaned up my code so many times.
Used to study philosophy. Now I map Eloquent methods with it.
New post: a 4-domain framework for actually knowing what you know (and what you don't) โ demoed on Laravel's most underrated method, isDirty().
https://t.co/ZEhqsS4cGy
Clankers are coming for your unauthenticated endpoints.
New post: 3 prompts to harden your app before someone else's agent does it for you.
https://t.co/nHyXsUbCEL
Everyone's using AI. Almost nobody has a system for it.
My new post breaks down the "Models, Migrations, Mimicry" method-using Laravel's own models, migrations, and wireframes to get cleaner generated code, fewer tokens, and faster ships.
https://t.co/zI3FRtafz9
#Laravel#AI
Latest feature in Coffers, my D&D campaign companion app: image uploads for campaigns, characters, shops, and scenes.
Small thing I'm proud of โ when you swap or delete an image, an Eloquent observer quietly deletes the old S3 file for you. No more orphans.
Filament Tip
I find myself having some tables stripped and some that I forget to strip on my panels. If you want to be consistently and lazy, set your filament table in you AppServiceProvider to always be stripped.
#laravel#php#Filament
My data sucks. Make it suck less.
I started using Attributes on my models to help clean up my database, creating more consistent entries. It's a clean way of casting you models in and out of the database.
#laravel#php