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...
This is clear to dive in documentation with you ;-) Thanks for your work
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.
Thanks. Will keep that in mind next time.
Very informative lesson :) Thank you very much.
You are most welcome
good work
Thank you! Cheers!
is it possible to create temporarySignedRoute only for specific user e.g. current logged user?
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
@@Laratips can u show us how
can you make a video on how to pass last inserted id in database via url.
Lets say you have User model, then you can get do it like this:
$latestId = User::latest()->first()->id;
route("your-route", ["id" => $latestId] );
Sound quality could be a bit better.
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. ✌️
Code in screen too small
Thanks for the feedback 🙂