Laravel Basics - URL Generation and Signed URLs

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • In this video, I have mentioned about different ways of generation urls in the laravel project. I have also discussed about generating signed url, which will help us to protect some of the url from all the user and only give access to only few of the people. Signed url in laravel
    === Important Links ===
    Fonts, extensions I use, and Support Laratips links:
    bit.ly/m/laratips
    ====================== Support ======================
    If you want me to continue making this kind of video for free on RUclips, then you can support the channel
    eSewa ID: 9843632084
    Wise Link: bit.ly/3dnBRmX
    Wise email: ashish.dhamala2015@gmail.com
    ===
    Let's be friends:
    / aashish_dhamala
    Github Repo:
    Please read the readme to access the code for the specific video.
    github.com/lar...

Комментарии • 16

  • @julienSibille
    @julienSibille 3 года назад +4

    This is clear to dive in documentation with you ;-) Thanks for your work

  • @vladje3747
    @vladje3747 3 года назад +1

    Bro is amazing. But the better way to comment code than delete. Because we need all instances.Step by step. Thank you, my dear brother, again.

    • @Laratips
      @Laratips  3 года назад +2

      Thanks. Will keep that in mind next time.

  • @davidson7838
    @davidson7838 2 года назад

    Very informative lesson :) Thank you very much.

    • @Laratips
      @Laratips  2 года назад +1

      You are most welcome

  • @mspoetrycollections4262
    @mspoetrycollections4262 3 года назад

    good work

    • @Laratips
      @Laratips  3 года назад

      Thank you! Cheers!

  • @noelkalel
    @noelkalel 2 года назад

    is it possible to create temporarySignedRoute only for specific user e.g. current logged user?

    • @Laratips
      @Laratips  2 года назад +1

      No it is not possible to do it directly. But you can pass the user id when creating the signed url and check that in the controller

    • @noelkalel
      @noelkalel 2 года назад

      @@Laratips can u show us how

  • @eugenegay2767
    @eugenegay2767 2 года назад

    can you make a video on how to pass last inserted id in database via url.

    • @Laratips
      @Laratips  2 года назад +1

      Lets say you have User model, then you can get do it like this:
      $latestId = User::latest()->first()->id;
      route("your-route", ["id" => $latestId] );

  • @md.abulkalamazad4965
    @md.abulkalamazad4965 2 года назад

    Sound quality could be a bit better.

    • @Laratips
      @Laratips  2 года назад +1

      Thank you for your feedback. This was recorded when I was beginning to upload my youtube videos. In the recent videos the sound quality is improved. ✌️

  • @dezetzede1382
    @dezetzede1382 2 года назад

    Code in screen too small

    • @Laratips
      @Laratips  2 года назад

      Thanks for the feedback 🙂