Make Your Livewire App Secure by Default

Поділитися
Вставка
  • Опубліковано 19 сер 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...

КОМЕНТАРІ • 18

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

  • @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 😍

  • @angelfireful
    @angelfireful Місяць тому

    Excelente 🎉🎉

  • @FindWebX
    @FindWebX Місяць тому

    Thanks a lot

    • @joshcirre
      @joshcirre  Місяць тому

      You're welcome! ☺️

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