It All Started With Model Show - Ron Northrip
2025-07-17
Draftsman Internals, Laravel Commands
One of the nicest things about working on Laravel stuff is how the framework keeps getting better. We all love the Laracon keynotes and look forward to seeing the latest refinements Taylor and his team made. Most of us can’t wait to take advantage of the latest improvements.
There are so many amazing little details that sometimes little gems don’t get all the attention they could.
And so it was for me with the model:show command.
I recall it being introduced in Laravel 10, and I think it might have even been in the keynote. But I was busy hacking on horse web apps and hadn’t used it.
Then I ended up jumping into a new app (also for horse stuff) and I needed to get a quick look at what was already there on a pretty mature app.
php artisan model:show User
Well that seems pretty handy.
But I only recently discovered that you can add a –json flag on it.
Imagine what I can do with that!