Laravel 12 Skeleton: Freedom or Forgetfulness? #56293
Unanswered
Victor-Kas
asked this question in
Ideas
Replies: 1 comment
-
This move forced us to start new frameworks based on laravel 10 and lumen 10 and upgrade both to work with php 8.4 + other improvements like real IoC for the classes that use the Macroable trait for start, resolve classes with list array as parameters and other improvements like PSR12 (as much as possible), not to mention a possible security fix that was ignored for the past year by laravel regarding eager loading relationships. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel 12 Skeleton: Freedom or Forgetfulness?
Originally inspired by a humorous (but eye-opening) exchange with ChatGPT aka “Quick Silver” 🥷🏾 (yes, that's QC — not QS).
🚧 Background
I’ve been building in Laravel for a while now, and recently started working with the Laravel 12 new skeleton structure (the minimal one — no Kernel, no AuthServiceProvider, no Controller.php).
At first, it felt clean. Minimal. Elegant.
Until it didn’t.
Because it turns out, that batteries-not-included approach comes at a cost — especially if you’ve ever relied on the classic Laravel DX (developer experience).
What follows is a lightly-edited version of my conversation with ChatGPT that captures the ups, downs, and slightly sarcastic banter of trying to build something useful in this new world.
💥 When You Realise
$this->middleware()
Is Undefined🛠️ Laravel’s Former "Overkill" Was Actually a Strength
🤦🏾♂️ The Newbie Trap
🧠 What Laravel 12 Actually Expects You to Know
Controller.php
if you want to use traits likeAuthorizesRequests
bootstrap/app.php
(noAuthServiceProvider
)Kernel.php
)Handler.php
by default)All of this without clear upfront documentation in the official guide.
💬 Feedback & Suggestion
Laravel’s minimalist skeleton is a bold move — and for advanced users, it makes sense.
But Laravel’s original magic was its ability to be:
If you're going to remove the magic, at least leave a map.
Just because I want a lighter bag doesn’t mean I want to be the one forging the hammer.
📢 Where to Go From Here?
Honestly, I’d love to hear from others:
--classic
or--dx
flag for dev experience lovers?Drop your thoughts. And if Taylor or the Laravel core team sees this — just know, we love the framework. We just miss when it hugged us back.
🫡
— Laravel Dev + ChatGPT aka Quick Silver (QC)
Beta Was this translation helpful? Give feedback.
All reactions