Tutorials, and demo projects with Laravel framework.
Host: Povilas Korop


Laravel Daily

I added a new very important sentence to my custom AI guidelines for Laravel.
But the general idea of this change can be used for any language/framework.

The full repository (FREE!) with my workflow on GitHub: github.com/LaravelDaily/AI-Workflows-For-Laravel

8 hours ago | [YT] | 141

Laravel Daily

Which AI Model Is Best for Laravel?
Great internal experiment with benchmarks by core Laravel team.

Full blog article: laravel.com/blog/which-ai-model-is-best-for-larave…

I did a similar benchmark a month ago, with pretty similar results:
GPT-5.x and Opus 4.x were on top.

3 days ago | [YT] | 180

Laravel Daily

Laravel major version is a chance to bump the underlying packages.
So in Laravel 13, I noticed these:
- PHP min 8.2 to 8.3
- PHPUnit: added v12/13, dropped v10
- Symfony components: ^7.4.0 || ^8.0.0
- Laravel Tinker: v3 vs v2
- Dropped laravel/sail in laravel/laravel skeleton

5 days ago | [YT] | 246

Laravel Daily

Laravel/PHP tip.
Did you know PHP enums can act as a state machine?

Define allowed transitions with `match` inside Enum.

Then, use that function for validation elsewhere.

Then, the enum IS the source of truth.

1 week ago | [YT] | 572

Laravel Daily

Laravel tip.
Rate limits are not only for APIs, you can use it to limit some attempts in any part of your app.

Here's the code that Codex generated for me, to limit how many times (how often) the player could "shout" BINGO during the game :)

Read docs: laravel.com/docs/12.x/rate-limiting

1 week ago | [YT] | 311

Laravel Daily

Laravel tip:
When your pivot table has its own data, create a custom Pivot model.

You get casts (enums, decimals), named relationships, and can use it as a `HasMany`.

Perfect for binding to Filament Repeaters or any UI that needs the pivot as a first-class model.

1 week ago | [YT] | 240

Laravel Daily

Laravel tip.
When creating/updating an Eloquent model, you can put some validation in the *Model* itself, not on the Controller or Form Request.

Then validation will trigger no matter where that Model operation is coming from: queue job, from Pest tests, Tinker, etc.

Screenshots with example code generated for me by GPT-5.4 model in a Bingo Telegram bot. It reminds me of domain-driven development a little bit. I also have a course "Laravel Modules and DDD", watch here: laraveldaily.com/course/laravel-modules-ddd?mtm_ca…

1 week ago | [YT] | 155

Laravel Daily

Wanna see important tweets about Laravel?
- New official launches
- New packages
- Tips/tricks
- ... and no dramas!

I curate best tweets on a new dedicated page on Laravel Daily!
laraveldaily.com/news-tweets

Subscribe at the bottom to get these tweets by email every week.

1 week ago | [YT] | 178

Laravel Daily

Laravel tip for Boost users.

After installing a third-party package, run command `php artisan boost:install` AGAIN, to check if the package doesn't have their guidelines/skills published for Boost.

1 week ago | [YT] | 187

Laravel Daily

Working on new AI workflow/guidelines for typical Laravel projects, to help AI agents to deliver better quality code.

Hope to publish soon, with a few demo projects built according to that workflow.

But then, such workflows need to be re-visited/tweaked with every new project.

2 weeks ago | [YT] | 263