Great additions to the framework I am a big fan of collection
@LaravelPHP2 ай бұрын
You and me both! (Christoph)
@aidan_sullivan_2 ай бұрын
Another great video! You are killing it Christoph! Keep up the good work. Loved the ending!
@LaravelPHP2 ай бұрын
thanks for the inspiration Aidan and the nice words 🙏 (Christoph)
@SahilKumar-bt2pf2 ай бұрын
composer run dev is cool.
@KJimah2 ай бұрын
Laravel always cooking. Nice
@gamingsites10412 ай бұрын
composer run dev is awesome, thanks for the share really appreciated
@LaravelPHP2 ай бұрын
Glad you like it! (Christoph)
@vaultdweller9662 ай бұрын
Do you know you can use auth()->id() instead of auth()->user()->id ? It's shorter and it returns null instead of throwing "Attempt to read property 'id' on null" when the user is logged out.
@JoeSmith-kn5wo2 ай бұрын
That is what always use. Definitely much cleaner code.
@hydrokat1432 ай бұрын
Now i know. Thanks!
@smokeyoak2 ай бұрын
Good to know
@LaravelPHP2 ай бұрын
I did...not. Thanks 👍 (Christoph)
@kwekuhammondonline2 ай бұрын
Great video! In the authorize method you could do return $product->user->is($user)
@LaravelPHP2 ай бұрын
Oh nice one, true. thanks 👍 (Christoph)
@BelgranoK2 ай бұрын
I need the Taylor's comand to run when sail starts.
@aykutcn2 ай бұрын
copy your preferred runtime from the sail folder in vendor. then edit your docker-compose.yaml to use that folder as your main container. then edit your custom containers entrypoint.
@B0re_d2 ай бұрын
What’s the performance difference when using attributes vs usual implementations?
@dominikbetlej71142 ай бұрын
🎉 this request f.. my brain ;d rly this is awesome
@jnjmedia83212 ай бұрын
the code $this->route(‘podcast’) is a bit confusing as we use the route() helper to call a route by its name and not the model binding
@williandamascenomusic2 ай бұрын
composer run dev is awesome
@LaravelPHP2 ай бұрын
Glad you like it 🙏 (Christoph)
@druganov9622 ай бұрын
1:40 completely off topic, but in europe we do actually put the euro sign in front of the digits, at least, in the netherlands, belgium, france and spain
@HadrienX2 ай бұрын
France puts the euro sign at the end. I know Cyprus puts it at the begining.
@druganov9622 ай бұрын
@@HadrienX oh shit really, I remember when I was in Paris they used to put it in front, maybe it differs per region/province
@HadrienX2 ай бұрын
@@druganov962 I am living in Paris city and I never see it :D
@vaultdweller9662 ай бұрын
@@druganov962maybe it was for foreign tourists? I'm french and I can confirm that we put it at the end. But obviously it's perfectly readable anyway...
@bandit12--2 ай бұрын
I thought this too, he can't speak for all of europe
@momodjah-low69442 ай бұрын
Does Laravel provide a built-in method to automatically check all relationships for a model ?
@SXsoft992 ай бұрын
regarding currency if only input type="number" would work the same on all browsers and it wouldn't change in a stupid way based on language or the settings on your computer
@GijsBeijer2 ай бұрын
Euro sign is in front of the numbers in the Netherlands as well 😅
@LaravelPHP2 ай бұрын
🙈 (Christoph)
@doesitmatter2 ай бұрын
i had to go look it up.. 🤦
@alesmohoric91302 ай бұрын
What is this tool where you can execute php code directly?
@brauliobernardo6602 ай бұрын
Tinkerwell
@object-orientedprograming67092 ай бұрын
What about pail in windows?
@iam.masoudsamimi2 ай бұрын
❤ composer run dev ❤
@LaravelPHP2 ай бұрын
❤️
@afolabiabiodun75822 ай бұрын
Let have php helper that convert amount to words
@LaravelPHP2 ай бұрын
This gets you very close: laravel.com/docs/11.x/helpers#method-number-for-humans (Christoph)
@MarlonLCosta2 ай бұрын
which theme do u use
@LaravelPHP2 ай бұрын
It is a custom PhpStorm theme from my Mastering PhpStorm course. called RIOS (Christoph)