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


Laravel Daily

I have an interesting personal story about Laravel Cloud.
When it was first released and I reviewed it on YouTube, my audience were mostly negative in the comments. Cause they compared Cloud plans against cheapest DO/Hetzner (they still do), and Cloud was 2-3x the price (not anymore).

But gradually I started talking to people OUTSIDE of my YouTube/Twitter "bubble", at conferences, and I discovered the world of COMPANIES, who care not about cheapest price, but infra reliability and convenience for the team. And this is a TOTALLY different game.

I saw Laravel Cloud booths at conferences, packed with *business owners* approaching the team to consult how Cloud can be used for their (individual snowflake) business. And Laravel team delivered, client after client (read their official blog), expanding the features of Cloud.

Yes, business clients care about overall PRICE, too, but less so. And seems like Cloud team - tech, sales, support - converted more and more businesses successfully, since it's on pace to 5x.

So yeah, happy to see the growth.
Happy to see that all those ~100 people on Laravel team will probably have safe jobs in the near future, as the business grows.

And lesson for me to also get out of my bubble more and look at B2B direction, not only at YouTube comments from individuals looking for cheapest/free products (which is still understandable, as they're on budget).

8 hours ago | [YT] | 99

Laravel Daily

Laravel/Eloquent tip.
Mass delete skips model events.

`Model::query()->delete()` does NOT fire deleting/deleted events or touch observers.

If your model cleans up files or relations on delete, mass delete silently skips it.
Loop with `chunkById()` instead.

1 week ago | [YT] | 231

Laravel Daily

Found a simple but useful Laravel package!
laravel-at/laravel-image-sanitize: Prevent malicious code execution through uploaded image files github.com/laravel-at/laravel-image-sanitize

1 week ago | [YT] | 436

Laravel Daily

Pesto - new PHP template engine!
pestophp.com/

From the docs: it offers a clean syntax using custom HTML attributes and supports advanced templating features like view composition, slots, conditional rendering, loops, and built-in security measures.

3 weeks ago | [YT] | 210

Laravel Daily

Laravel/PHP tip.
You can make a repeatable function CALLABLE and pass it as a parameter to other functions.

3 weeks ago | [YT] | 204

Laravel Daily

Laravel tip.
Cache key names as REUSABLE constants.

Don't put cache key names as raw strings.

If someone MISTYPES 'products.count' somewhere, cache invalidation breaks.

And you won't get an error. Just stale data forever.

Make it a constant on the model.
Use it everywhere.

3 weeks ago | [YT] | 271

Laravel Daily

Recent Laravel code generated for me by Composer 2.5.
I mean, it WORKS, all tests pass, but... :)

Actually.. do you (still) care about things like these in the code?

3 weeks ago | [YT] | 121

Laravel Daily

New Laravel package!
eliseekn/laravel-metrics: laraveldaily.com/package/eliseekn-laravel-metrics/…

Generate easily metrics and trends data of your models for your dashboards.

4 weeks ago | [YT] | 257

Laravel Daily

Teaser: working on a course about something you asked for.

4 weeks ago | [YT] | 97

Laravel Daily

New in Laravel Boost v2.4.9: they added Antigravity and Zed to the auto-detected agent list.

More info here: github.com/laravel/boost/releases

1 month ago | [YT] | 75