14 Quick Laravel Tips in 9 Minutes
9:09
22 сағат бұрын
Dev Productivity is Not About Coding
3:23
One Tip to Adopt Mid-Senior Mindset
4:19
Livewire or Vue.js: Which to Use When?
12:13
3 Tips to Drop Junior Mindset
6:17
21 күн бұрын
Be Brave Enough to FAIL
3:22
Ай бұрын
Пікірлер
@richardhoyle7778
@richardhoyle7778 21 сағат бұрын
is your code available on GitHub?
@daniyarbaizhaksynov9230
@daniyarbaizhaksynov9230 Күн бұрын
Great tips, i knew only 5 tips)
@icantchosemyname
@icantchosemyname Күн бұрын
On tip 10 with route to view, avoid calling à function to pass data from eloquent for instance, to the view. The function Will be called each time the backend receives à request and the route file is parsed.
@ridwanoladapo5239
@ridwanoladapo5239 Күн бұрын
How can I build a Modular Laravel project with Vue.js Inertia in Laravel 11
@VadimBesedin
@VadimBesedin Күн бұрын
You can also use Gates in 'can' middleware: Route::get('/admin', function () { // Code to be executed if the user has the 'create-tasks' permission })->middleware('can:create-tasks');
@emali1683
@emali1683 Күн бұрын
Is DSA important for web development if you want to join a good company?
@emali1683
@emali1683 Күн бұрын
Is DSA important for web development if you want to join a good company?
@Entertainment-fv9my
@Entertainment-fv9my Күн бұрын
Sir i have a question down function is blank on this migration file why is when i rollback the migration then i think face issue
@LaravelDaily
@LaravelDaily Күн бұрын
Here's my post about it laraveldaily.com/post/still-need-migrations-taylor-says-no
@eliasmwita1483
@eliasmwita1483 Күн бұрын
i have try this code but i get a burgs that i can't even solve it
@eliasmwita1483
@eliasmwita1483 Күн бұрын
I get this error when run this project in browsers "Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm." but i have config .env
@emmanuelingelaere8500
@emmanuelingelaere8500 Күн бұрын
Yes, I think Model::ShouldBeStrict() also activates preventLazyLoading while adding some nice extra checks
@yhaelopez
@yhaelopez Күн бұрын
Thanks a lot!
@birenjung
@birenjung Күн бұрын
I think the show function returns 403 status because token named categories-show is not made. Am I right?
@vasilejianu8241
@vasilejianu8241 Күн бұрын
ShouldBeStrict
@7error8lade
@7error8lade Күн бұрын
Was wondering why sometimes preventLazyLoading not working. Thanks!
@abodysharaf_aldeen8186
@abodysharaf_aldeen8186 Күн бұрын
Great feature
@ihorrud5088
@ihorrud5088 2 күн бұрын
great, thanks
@ravi_sorathiya
@ravi_sorathiya 2 күн бұрын
Know most of this but still i liked this concept of teaching 😀
@JohnDoe-jc4xp
@JohnDoe-jc4xp 2 күн бұрын
I use twitter, I only subscribed on youtube. Thanks for sharing.
@jusilveira7830
@jusilveira7830 2 күн бұрын
Now it's only $this->dispatch. Livewire v3 removed emit and dispatchBrowserEvent. Thank you so much for this tutorial!
@jhonmarkordaniza2381
@jhonmarkordaniza2381 2 күн бұрын
Thank you for this wonderful information, I'm learning laravel as it is required in our school, i want to know how does the route model binding works in models with relationship and how to apply the controller resource for it.
@PrajwalMaharjan-bc1sp
@PrajwalMaharjan-bc1sp 2 күн бұрын
could we achieve same thing or have a select option to re render the chart entirely with livewire??
@faridnubaili7917
@faridnubaili7917 2 күн бұрын
Is it still compatible in Laravel 11. I tried to cal it in the controller and it returns error
@LaravelDaily
@LaravelDaily 2 күн бұрын
No that doesn't work with Laravel 11 anymore.
@azamfeyznia6266
@azamfeyznia6266 2 күн бұрын
Can we use it for APIs?
@LaravelDaily
@LaravelDaily 2 күн бұрын
Probably, if your APIs throw validation exceptions. Try it.
@birenjung
@birenjung 2 күн бұрын
you are so nice. feeling blessed.
@Buscalia
@Buscalia 2 күн бұрын
7:29 - If you're using ChatGPT free version as me, this kind of "long" answer is provided by the new 4o version. It's very nice when you're on a learning mode or in broad vision to afford "complex" problems, but really annoying and slow when using it as development assistant. Even it is possible to instruct ChatGPT for returning short answers or re launch the answer in 3.5 version at bottom of the answer, I miss a simple switch at the top of the screen to choose between chatGPT versions by default.
@elgoogssie3969
@elgoogssie3969 2 күн бұрын
I would not remove the try/catch block. The rest is fine by me :)
@shahsawoodshinwari
@shahsawoodshinwari 2 күн бұрын
No I haven't tracked validation error messages ever, but this looks cool, should try it.
@4pawsFun
@4pawsFun 2 күн бұрын
Dubious feature, to be honest, maybe only during the project stabilization step
@KastsEcho
@KastsEcho 2 күн бұрын
I've been trying the VILB stack lately with Bootstrap instead of Tailwind.
@LaravelDaily
@LaravelDaily 2 күн бұрын
And how's it going? Can you compare T to B after working with both?
@kenan.recebli
@kenan.recebli 3 күн бұрын
there are also methods abort_if and abort_unless, which are also shorten abort conditionals
@MwathaKinyua
@MwathaKinyua 3 күн бұрын
Only two were new to me. $query->clone() and pest. I don't use Pest. A good number of these tips I have learned here in this channel.
@lucastabosa8855
@lucastabosa8855 3 күн бұрын
$post->category ? $post->category->name : ‘no category’ ☠️💀
@randak37
@randak37 3 күн бұрын
Get video, the tips are very helpful. MAIL_DRIVER=log is relevant to me since I need to test email for my first project and hadn't explored the standard email options. As always, great work on this channel (and Filament Daily)!
@SXsoft99
@SXsoft99 3 күн бұрын
People not reading docs is a pain Also in regards to the "clone" you should probably tell people what happens under the hood, meaning the way that memory is allocated. Cloning an object is something more advanced in the OOP section and a lot of people, either coming from bootcamps or university, don't know about. If you don't you will run in the problem that people on social media applaud you just because you sound smart In regards to validating "nullable" vs "sometimes required", nullable from what i remember requires the key to exist in the payload but can have value null, while sometimes applied a isset check
@muhammadumarsotvoldiev8768
@muhammadumarsotvoldiev8768 3 күн бұрын
Thank you very much (from Uzbekistan, Fergana)
@JustPlayerDE
@JustPlayerDE 3 күн бұрын
here for the algorithm ^^
@fulufheloful
@fulufheloful 3 күн бұрын
I think most people don't read the documentation unless they're looking for a specific thing. Myself included
@PabloZagni
@PabloZagni 3 күн бұрын
I love your youtube videos, I don't miss anyone. I follow you in Twitter, but Twitter shows a lot of feeds I don't whant. I dont see all your tweets.
@ABODY734
@ABODY734 3 күн бұрын
thank you for this video all of these tips didn't know any of them despite being in laravel documentation 24 / 7
@muhammadumair9771
@muhammadumair9771 3 күн бұрын
Thanks for the clarity
@Sebz9590
@Sebz9590 3 күн бұрын
That shows we are just too lazy to read documentation😅
@lucastabosa8855
@lucastabosa8855 3 күн бұрын
Bad pratices: run php artisan migrate:fresh in production
@theceilidhboy
@theceilidhboy 3 күн бұрын
The large number of likes for these kinds of tips likes show how many developers don’t read the Laravel docs 🤦🏻‍♂️
@kirayamato6128
@kirayamato6128 3 күн бұрын
are you acoustic? when i liked this video, i don't read the docs? stfu dude. liked for the content.
@ercog7921
@ercog7921 3 күн бұрын
It seems to me that tip 9 will not work and the sql query will still be executed, unless stopOnFirstFailure is called for the validator
@alislman534
@alislman534 3 күн бұрын
we love it
@MomoDerDodo
@MomoDerDodo 3 күн бұрын
Great tipps, but isn't the oposite of the "required" validation rule "prohibited"?
@LaravelDaily
@LaravelDaily 3 күн бұрын
Not sure, please try and let me know :)
@kemal6039
@kemal6039 3 күн бұрын
I'm not sure why/how it would be useful though. If you don't want the users to use that column, just remove it from the request. Or maybe even put it into the $guarded array.
@MomoDerDodo
@MomoDerDodo 3 күн бұрын
​@@kemal6039 It wasn't a question of how useful it is. But I, for example, have a few use cases for it, especially for transparency in admin panels when the form changes due to certain settings.
@Flankymanga
@Flankymanga 3 күн бұрын
The PEST architectural test tip is nice..... I would be interrested to know more what PEST can do.
@LaravelDaily
@LaravelDaily 3 күн бұрын
I have a few videos, search the channel. And, of course, read Pest docs :)
@373323
@373323 3 күн бұрын
yeah, twitter is twitter, not X
@kreaweb-be
@kreaweb-be 3 күн бұрын
Is the MAIL_DRIVER=log example still valid in LARAVEL 11? Because the default .env does not contain a MAIL_DRIVER entry...
@LaravelDaily
@LaravelDaily 3 күн бұрын
From what I remember, it was renamed to MAIL_MAILER or something. Now off computer to check.
@kreaweb-be
@kreaweb-be 3 күн бұрын
@@LaravelDaily You are correct. MAIL_MAILER it is.