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


Laravel Daily

Aaron Francis praised NativePHP and Laravel as a choice for a DESKTOP app.
Why? Here's a direct quote from the podcast:

"Another desktop app that I wrote, I used NativePHP because Laravel was the best choice for this desktop application because it is so heavily *queue-based*.

No other queue implementation comes even close to Laravel's queues, especially when you're talking about an SQLite database-driven.

Laravel + Inertia + React on the front end, you've got a great desktop app that can be extremely heavily queue-based with all the retries and all of that kind of stuff."

Listen to the full episode here: mostlytechnical.com/episodes/119-anti-slop-vibe
(tech-stack discussions are at around ~55 minutes)

2 days ago | [YT] | 150

Laravel Daily

This sometimes happens when you use AI LLMs.
Or, in fact, any external APIs.

In this case, shooting Laravel AI SDK course video on image generation, and OpenAI API just fails.

But I will deliberately NOT edit this out of video.

I want to show REAL stories, not ideal world.

1 week ago | [YT] | 209

Laravel Daily

Laravel tip.

Did you know you can register Eloquent observers with PHP attribute `ObservedBy`, avoiding manual registration in a provider?

1 week ago | [YT] | 319

Laravel Daily

Laravel AI SDK should be released *today*.
But if you wanna read about it earlier, the DOCS are already live since yesterday: github.com/laravel/docs/blob/12.x/ai-sdk.md

Of course, it's still early, and subject to change.

1 week ago | [YT] | 217

Laravel Daily

Laravel tip.
Use the `File` rule facade for fluent image validation.
Chain methods like `image()`, `min()`, `max()`, and `dimensions()` for cleaner, more readable validation rules compared to string-based syntax.

1 week ago | [YT] | 450

Laravel Daily

Laravel starter kits have just became "safer" with new added defaults.

- Enforcing immutable dates with CarbonImmutable
- Not allowing destructive commands in production
- Requiring safer passwords by default in production

Read more in the changelog: laravel.com/docs/changelog

1 week ago | [YT] | 284

Laravel Daily

Laravel tip.
I love Eloquent `when()` method for queries longer than 2-3 conditions.

Then it visually looks like ONE statement for filtering, instead of many if-statements.

Of course, alternative is to use external packages like `spatie/laravel-query-builder` but this approach is native.

2 weeks ago | [YT] | 438

Laravel Daily

Laravel tip.

Instead of repeating password validation rules everywhere, use `Password::defaults()` in a service provider to set global password requirements.

Then reference it throughout your app (login/register/profile/API) with `Password::defaults()` for consistent validation.

2 weeks ago | [YT] | 412

Laravel Daily

Laravel tip.
Laravel's `$request->date()` method automatically parses date strings from request input into Carbon instances.

You can specify format and timezone, making date handling in controllers much cleaner than manual parsing.

2 weeks ago | [YT] | 300

Laravel Daily

NEW Laravel Boost v.2.0 with Skills support.
Review coming soon!

2 weeks ago | [YT] | 237