Make Your Livewire App Secure by Default

Sdílet
Vložit
  • čas přidán 12. 09. 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/...

Komentáře • 19

  • @berthojoris
    @berthojoris Před 2 měsíci +2

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

  • @PhiloDev
    @PhiloDev Před 2 měsíci +1

    That was quick 🚀 Great video! Thanks Josh 🙌🏻

    • @joshcirre
      @joshcirre  Před 2 měsíci

      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 Před 2 měsíci

      @@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 Před 2 měsíci

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

    • @joshcirre
      @joshcirre  Před 2 měsíci

      Thank you for the support. ☺️

  • @windows07
    @windows07 Před 2 měsíci

    Great vídeo as always 😊

    • @joshcirre
      @joshcirre  Před 2 měsíci +1

      Thanks! :) Also.. first. 👀

    • @windows07
      @windows07 Před 2 měsíci

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

  • @wesammuneer8926
    @wesammuneer8926 Před 2 měsíci

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

    • @joshcirre
      @joshcirre  Před 2 měsíci +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 Před 2 měsíci

      @@joshcirre can't wait to see it 😍

  • @angelfireful
    @angelfireful Před 2 měsíci

    Excelente 🎉🎉

  • @FindWebX
    @FindWebX Před 2 měsíci

    Thanks a lot

  • @DanielSpravtsev
    @DanielSpravtsev Před 2 měsíci

    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  Před 2 měsíci

      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 Před 19 dny

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