Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sash_ko's avatar

sash_ko liked a comment+100 XP

3mos ago

Laravel From Scratch (2026 Edition): Ep 25, Tailwind Theme Setup And Initial UI

Here are the full CSS component files for those looking to copy:

resources/css/components/btn.css

resources/css/components/form.css

sash_ko's avatar

sash_ko liked a comment+100 XP

3mos ago

Laravel From Scratch (2026 Edition): Ep 10, Controllers

One important thing when creating routes like that, is the order.

Route::get('/ideas/create', [IdeaController::class, 'index']);

Must be defined before

Route::get('/ideas/{idea}', [IdeaController::class, 'show']);

Or you will scratch your head as to why you get a 404 when trying to navigate to the create Idea route.

sash_ko's avatar

sash_ko wrote a comment+100 XP

3mos ago

Laravel From Scratch (2026 Edition): Ep 8, Databases, Migrations, and Eloquent

@koulritesh98 I think it might be an automatic script that will apply migrations during build or apply stage