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


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.

1 day ago | [YT] | 124

Laravel Daily

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

2 days ago | [YT] | 158

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 days ago | [YT] | 253

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?

4 days ago | [YT] | 119

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.

1 week ago | [YT] | 257

Laravel Daily

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

1 week ago | [YT] | 98

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 week ago | [YT] | 75

Laravel Daily

My new video on NativePHP Daily channel.
https://www.youtube.com/watch?v=8AofE...

This is probably no.1 question I see online from people who haven't tried NativePHP.

1 week ago | [YT] | 76

Laravel Daily

Interesting post on Reddit, with a lot of upvotes/comments.
Do you feel the same trends in Laravel market?

Link to the post: www.reddit.com/r/laravel/comments/1tqjlb1/love_wor…

1 week ago | [YT] | 213

Laravel Daily

Laravel tip for Pest testing.
`LazilyRefreshDatabase` is almost always better than `RefreshDatabase`.

`RefreshDatabase` runs migrations for EVERY test, even those that don't touch the DB.

The lazy version only kicks in the first time the connection is used.

1 week ago | [YT] | 127