Make Your Livewire App Secure by Default
ฝัง
- เผยแพร่เมื่อ 29 ส.ค. 2024
- Quick video. I just found a package by @PhiloDev enabling "Strict" mode with Livewire. This is a great and easy way to lock all Livewire properties by default so that way you only allow public-facing editing of properties you actually WANT to be edited.
Plus, I rant about one of my favorite Laravel features: shouldBeStrict()
Links:
Livewire Strict: github.com/wir...
Philo Twitter: x.com/Philo01
Laravel News ShouldBeStrict Post: laravel-news.c...
Keep creating.
---
📹 *Watch My VSCode Setup Video:* • My Minimal and Beautif...
🎓 *Make VSCode Awesome - Caleb Porzio's Course (support me with this link):* gumroad.com/a/...
Great...Thanks Josh for this info. Applied on my livewire app :)
Glad this helped! ☺️
That was quick 🚀 Great video! Thanks Josh 🙌🏻
Great package. I'll be honest I rarely lock properties, so this is a great way to get me in the habit of doing it by default. ☺️
@@joshcirre Nice one Josh,I i think that a good validation rules plus authorizing, I will only need to Lock a few proprieties, right? like the sensitive ones...
This is invaluable info.. thanks for sharing.
Keep pumping this great content ❤
Thank you for the support. ☺️
Great vídeo as always 😊
Thanks! :) Also.. first. 👀
I got back into Laravel after 3 years without touching it and learned Livewire really fast, I love how fast I can achieve things
Excelente 🎉🎉
Thanks a lot
You're welcome! ☺️
Hi josh, can you make a video about how to learn laravel "specially for a beginner"
I’m actually working on this on the official Laravel channel. I’m going to be releasing a “Laravel Bootcamp for Absolute Beginners” video specifically for people new to Laravel and to coding in general. :)
@@joshcirre can't wait to see it 😍
New level of overengineering. Make a form and go playing with unlocking every field. Might as well just #[Lock] two id fields and dont deal with unlocking :D
Probably not great for Forms. So unlock the whole Class. BUT… for 80% of my Livewire fields, it’s incredibly useful.
But, still comes down to preference. 😄
I'll be honest, I am not a fan of file routing