Discover New PHP Attributes, Number Defaults, and Taylor's New Composer Script 🧙

  Рет қаралды 9,903

Laravel

Laravel

Күн бұрын

Пікірлер: 38
@vaultdweller966
@vaultdweller966 5 күн бұрын
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-kn5wo
@JoeSmith-kn5wo 5 күн бұрын
That is what always use. Definitely much cleaner code.
@hydrokat143
@hydrokat143 4 күн бұрын
Now i know. Thanks!
@smokeyoak
@smokeyoak 4 күн бұрын
Good to know
@LaravelPHP
@LaravelPHP 22 сағат бұрын
I did...not. Thanks 👍 (Christoph)
@SahilKumar-bt2pf
@SahilKumar-bt2pf 5 күн бұрын
composer run dev is cool.
@KJimah
@KJimah 5 күн бұрын
Laravel always cooking. Nice
@shaz3e
@shaz3e 5 күн бұрын
Great additions to the framework I am a big fan of collection
@LaravelPHP
@LaravelPHP 22 сағат бұрын
You and me both! (Christoph)
@BelgranoK
@BelgranoK 5 күн бұрын
I need the Taylor's comand to run when sail starts.
@aykutcn
@aykutcn 5 күн бұрын
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.
@gamingsites1041
@gamingsites1041 4 күн бұрын
composer run dev is awesome, thanks for the share really appreciated
@LaravelPHP
@LaravelPHP 22 сағат бұрын
Glad you like it! (Christoph)
@B0re_d
@B0re_d 22 сағат бұрын
What’s the performance difference when using attributes vs usual implementations?
@jnjmedia8321
@jnjmedia8321 Күн бұрын
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
@momodjah-low6944
@momodjah-low6944 4 күн бұрын
Does Laravel provide a built-in method to automatically check all relationships for a model ?
@williandamascenomusic
@williandamascenomusic 5 күн бұрын
composer run dev is awesome
@LaravelPHP
@LaravelPHP 22 сағат бұрын
Glad you like it 🙏 (Christoph)
@SXsoft99
@SXsoft99 4 күн бұрын
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
@GijsBeijer
@GijsBeijer 4 күн бұрын
Euro sign is in front of the numbers in the Netherlands as well 😅
@LaravelPHP
@LaravelPHP 22 сағат бұрын
🙈 (Christoph)
@dominikbetlej7114
@dominikbetlej7114 5 күн бұрын
🎉 this request f.. my brain ;d rly this is awesome
@MarlonLCosta
@MarlonLCosta 5 күн бұрын
which theme do u use
@LaravelPHP
@LaravelPHP 22 сағат бұрын
It is a custom PhpStorm theme from my Mastering PhpStorm course. called RIOS (Christoph)
@druganov962
@druganov962 5 күн бұрын
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
@HadrienX
@HadrienX 5 күн бұрын
France puts the euro sign at the end. I know Cyprus puts it at the begining.
@druganov962
@druganov962 5 күн бұрын
@@HadrienX oh shit really, I remember when I was in Paris they used to put it in front, maybe it differs per region/province
@HadrienX
@HadrienX 5 күн бұрын
@@druganov962 I am living in Paris city and I never see it :D
@vaultdweller966
@vaultdweller966 5 күн бұрын
​@@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--
@bandit12-- Күн бұрын
I thought this too, he can't speak for all of europe
@iam.masoudsamimi
@iam.masoudsamimi 5 күн бұрын
❤ composer run dev ❤
@LaravelPHP
@LaravelPHP 22 сағат бұрын
❤️
@user-cf5uf7vf2g
@user-cf5uf7vf2g 5 күн бұрын
hmm.. not math function
Everything You Need to Know About Laravel in 30 Minutes
29:15
Let’s Dive Into Pan: A Chill Review of Modern PHP Code (2024)
12:52
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,4 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
Front-end web development is changing, quickly
3:43
Fireship
Рет қаралды 1,2 МЛН
Should You Use a Notification or a Mailable?
12:48
Laravel
Рет қаралды 10 М.
Laravel Livewire: Real Projects
5:09
neverything
Рет қаралды 4 М.
Significantly Improve Page Loads Using Laravel Prefetching
9:12
The Tri Folding Phone Impressions!
11:18
Marques Brownlee
Рет қаралды 3,2 МЛН
Why does JavaScript's fetch make me wait TWICE?
6:23
Tom on the Internet
Рет қаралды 186 М.
Build Your Own Custom Auth System with Fortify
20:14
Laravel
Рет қаралды 7 М.
Make faster outbound requests with Laravel (10x faster, actually)
5:28
Why Don't We Have A Laravel For JavaScript?
12:36
Theo - t3․gg
Рет қаралды 106 М.
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 3,4 МЛН