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/...

ความคิดเห็น • 19

  • @berthojoris
    @berthojoris หลายเดือนก่อน +2

    Great...Thanks Josh for this info. Applied on my livewire app :)

    • @joshcirre
      @joshcirre  หลายเดือนก่อน

      Glad this helped! ☺️

  • @PhiloDev
    @PhiloDev หลายเดือนก่อน +1

    That was quick 🚀 Great video! Thanks Josh 🙌🏻

    • @joshcirre
      @joshcirre  หลายเดือนก่อน

      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. ☺️

    • @wevertonlotosport
      @wevertonlotosport หลายเดือนก่อน

      @@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...

  • @AbdelrahmanMoussaAbuOuf
    @AbdelrahmanMoussaAbuOuf หลายเดือนก่อน

    This is invaluable info.. thanks for sharing.
    Keep pumping this great content ❤

    • @joshcirre
      @joshcirre  หลายเดือนก่อน

      Thank you for the support. ☺️

  • @windows07
    @windows07 หลายเดือนก่อน

    Great vídeo as always 😊

    • @joshcirre
      @joshcirre  หลายเดือนก่อน +1

      Thanks! :) Also.. first. 👀

    • @windows07
      @windows07 หลายเดือนก่อน

      I got back into Laravel after 3 years without touching it and learned Livewire really fast, I love how fast I can achieve things

  • @angelfireful
    @angelfireful หลายเดือนก่อน

    Excelente 🎉🎉

  • @FindWebX
    @FindWebX หลายเดือนก่อน

    Thanks a lot

    • @joshcirre
      @joshcirre  หลายเดือนก่อน

      You're welcome! ☺️

  • @wesammuneer8926
    @wesammuneer8926 หลายเดือนก่อน

    Hi josh, can you make a video about how to learn laravel "specially for a beginner"

    • @joshcirre
      @joshcirre  หลายเดือนก่อน +2

      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. :)

    • @wesammuneer8926
      @wesammuneer8926 หลายเดือนก่อน

      @@joshcirre can't wait to see it 😍

  • @DanielSpravtsev
    @DanielSpravtsev หลายเดือนก่อน

    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

    • @joshcirre
      @joshcirre  หลายเดือนก่อน

      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. 😄

  • @SXsoft99
    @SXsoft99 5 วันที่ผ่านมา

    I'll be honest, I am not a fan of file routing