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Күн бұрын
How can I build a Modular Laravel project with Vue.js Inertia in Laravel 11
@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Күн бұрын
Is DSA important for web development if you want to join a good company?
@emali1683Күн бұрын
Is DSA important for web development if you want to join a good company?
@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Күн бұрын
Here's my post about it laraveldaily.com/post/still-need-migrations-taylor-says-no
@eliasmwita1483Күн бұрын
i have try this code but i get a burgs that i can't even solve it
@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Күн бұрын
Yes, I think Model::ShouldBeStrict() also activates preventLazyLoading while adding some nice extra checks
@yhaelopezКүн бұрын
Thanks a lot!
@birenjungКүн бұрын
I think the show function returns 403 status because token named categories-show is not made. Am I right?
@vasilejianu8241Күн бұрын
ShouldBeStrict
@7error8ladeКүн бұрын
Was wondering why sometimes preventLazyLoading not working. Thanks!
@abodysharaf_aldeen8186Күн бұрын
Great feature
@ihorrud50882 күн бұрын
great, thanks
@ravi_sorathiya2 күн бұрын
Know most of this but still i liked this concept of teaching 😀
@JohnDoe-jc4xp2 күн бұрын
I use twitter, I only subscribed on youtube. Thanks for sharing.
@jusilveira78302 күн бұрын
Now it's only $this->dispatch. Livewire v3 removed emit and dispatchBrowserEvent. Thank you so much for this tutorial!
@jhonmarkordaniza23812 күн бұрын
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-bc1sp2 күн бұрын
could we achieve same thing or have a select option to re render the chart entirely with livewire??
@faridnubaili79172 күн бұрын
Is it still compatible in Laravel 11. I tried to cal it in the controller and it returns error
@LaravelDaily2 күн бұрын
No that doesn't work with Laravel 11 anymore.
@azamfeyznia62662 күн бұрын
Can we use it for APIs?
@LaravelDaily2 күн бұрын
Probably, if your APIs throw validation exceptions. Try it.
@birenjung2 күн бұрын
you are so nice. feeling blessed.
@Buscalia2 күн бұрын
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.
@elgoogssie39692 күн бұрын
I would not remove the try/catch block. The rest is fine by me :)
@shahsawoodshinwari2 күн бұрын
No I haven't tracked validation error messages ever, but this looks cool, should try it.
@4pawsFun2 күн бұрын
Dubious feature, to be honest, maybe only during the project stabilization step
@KastsEcho2 күн бұрын
I've been trying the VILB stack lately with Bootstrap instead of Tailwind.
@LaravelDaily2 күн бұрын
And how's it going? Can you compare T to B after working with both?
@kenan.recebli3 күн бұрын
there are also methods abort_if and abort_unless, which are also shorten abort conditionals
@MwathaKinyua3 күн бұрын
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.
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)!
@SXsoft993 күн бұрын
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
@muhammadumarsotvoldiev87683 күн бұрын
Thank you very much (from Uzbekistan, Fergana)
@JustPlayerDE3 күн бұрын
here for the algorithm ^^
@fulufheloful3 күн бұрын
I think most people don't read the documentation unless they're looking for a specific thing. Myself included
@PabloZagni3 күн бұрын
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.
@ABODY7343 күн бұрын
thank you for this video all of these tips didn't know any of them despite being in laravel documentation 24 / 7
@muhammadumair97713 күн бұрын
Thanks for the clarity
@Sebz95903 күн бұрын
That shows we are just too lazy to read documentation😅
@lucastabosa88553 күн бұрын
Bad pratices: run php artisan migrate:fresh in production
@theceilidhboy3 күн бұрын
The large number of likes for these kinds of tips likes show how many developers don’t read the Laravel docs 🤦🏻♂️
@kirayamato61283 күн бұрын
are you acoustic? when i liked this video, i don't read the docs? stfu dude. liked for the content.
@ercog79213 күн бұрын
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
@alislman5343 күн бұрын
we love it
@MomoDerDodo3 күн бұрын
Great tipps, but isn't the oposite of the "required" validation rule "prohibited"?
@LaravelDaily3 күн бұрын
Not sure, please try and let me know :)
@kemal60393 күн бұрын
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.
@MomoDerDodo3 күн бұрын
@@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.
@Flankymanga3 күн бұрын
The PEST architectural test tip is nice..... I would be interrested to know more what PEST can do.
@LaravelDaily3 күн бұрын
I have a few videos, search the channel. And, of course, read Pest docs :)
@3733233 күн бұрын
yeah, twitter is twitter, not X
@kreaweb-be3 күн бұрын
Is the MAIL_DRIVER=log example still valid in LARAVEL 11? Because the default .env does not contain a MAIL_DRIVER entry...
@LaravelDaily3 күн бұрын
From what I remember, it was renamed to MAIL_MAILER or something. Now off computer to check.
@kreaweb-be3 күн бұрын
@@LaravelDaily You are correct. MAIL_MAILER it is.