@Code Fisher Sir in 17:11 in the video u specify only one role and our requirement is to customize register view i.e add radio buttons for two roles one is for Client and the other is for User and if a user click on client then to redirect on client page and if he click on user then to redirect on User Page.
thankyou so much, i am really new to laravel and was finding solution have one login page with different user levels, this exactly what i was looking for, got some of my concepts cleared. Thankyou Looking forward learning from you more
Thank you so much... I try login as admin but end up in user page >.< Then saw your tutorial which is a really big help for me. So, i just need to put admin and user in different page. Thanks again. :3
Hi Sir ! Hope you fine ! At 9:46 (After installation of laratrust) : Adding LaratrustUserTrait make an error... can I continue with the video or how can I fix this error please ? 😰😥😓
sir please make 3rd part of this video how to utilize this on admin panel like manage user roles update user delete user allow permisson with same laratrust...
I have a question, but it has little to do with this video, if i use gates, is required also to have route middleware for separate admin and user areas?
i am getting an error when i try to install laratrust sir, this is what i get ./composer.json has been updated Running composer update santigarcor/laratrust Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - santigarcor/laratrust[5.0.0, ..., 5.0.x-dev] require illuminate/auth ~5.2 -> found illuminate/auth[v5.2.0, ..., 5.8.x-dev] but these were not loaded, like ly because it conflicts with another require. - Root composer.json requires santigarcor/laratrust 5.0.* -> satisfiable by santigarcor/laratrust[5.0.0, ..., 5.0.x-dev]. Installation failed, reverting ./composer.json and ./composer.lock to their orig inal content.
@Code Fisher.. Nice tutorial am really looking forward to using it but i have a challenge. I have followed the video minute by minute but i dont seam to get php artisan db:seed to be working. It tells me that Target class [LaratrustSeeder] does not exist. Please help me.
I want to stop a logged in user from visiting the login page again, even by entering the URL after he's logged in, it should redirect to another page. Hence once logged in, you can't view the login page again, until you log out
@@mlatifvlogs hi if I have the same problem too but i have fixed it. All you need to do is change "true" in the create_user in "config\laratrust_seeder.php" .
But why another package !!!. We can create auth system without any packages then its easy to customise and don't want to see their document each time we customise our code as well as if we build our own code we can modify without any hesitation For example laravel 8 use tailwind css and livewire which is cool if you have enough knowledge of laravel auth system so my suggestion let's build your own code with laravel guards 🙂
@@alejandeodekiev8592 guys, before run php artisan db:seed check in config/larastruct_ seeder.php 'create_users' => true, it will populate the user table
I was not created 'supperadministrator' user, 'adminitrator' user and 'user' user in 14:50 and 15:21 . Can you help me ? please (I installed Laravel version 7.17.2)
Hello sir, thanks for the lesson, tried running php artisan laratrust:seeder command But get an error: failed to open stream: No such file or directory Kindly help point me to what i might be doing wrong. Thank you so much.
I encountered this problem, I installed the laratrust version 6.x. The problem is that its not compatible with the composer/laravel that you are currently using. What I did was I downgraded the Laratrust installer into 5.1/5.2 and it worked perfectly fine. I was able to create the Laratrust seeder.
@@CodeFisher Sir in 17:11 in the video u specify only one role and our requirement is to customize register view i.e add radio buttons for two roles one is for Client and the other is for User and if a user click on client then to redirect on client page and if he click on user then to redirect on User Page.
Thanks a Lot💓
If I found you earlier, I wouldn't waste the entire day!
i am 1k like, thanks for the amazing video
Awesome tutorial. Really informative. Thanks a lot sharing your knowledge.
Instablaster
@Code Fisher Sir in 17:11 in the video u specify only one role and our requirement is to customize register view i.e add radio buttons for two roles one is for Client and the other is for User and if a user click on client then to redirect on client page and if he click on user then to redirect on User Page.
Good and clear explanation.Can you please explain how i can create Super administrator & administrator user from front end.
Hi sir, can you do a tutorial using CRUD in laratrust, your tutorial is really a great help sir.
just wanna to say thanks to your incredible tutorial. You helped me a lot
thankyou so much, i am really new to laravel and was finding solution have one login page with different user levels, this exactly what i was looking for, got some of my concepts cleared.
Thankyou
Looking forward learning from you more
Thank you very much brother it was very simple and clear I'm happy to subscribe
Thanks :)
Thank you so much... I try login as admin but end up in user page >.< Then saw your tutorial which is a really big help for me. So, i just need to put admin and user in different page. Thanks again. :3
helo. koszi szepen.
how to make the auth with out using laratrust ??? please respond fast ty
great job and thx for video
Great video
love from Afghanistan
Thank you for the very useful video
Good day
Hi Sir ! Hope you fine ! At 9:46 (After installation of laratrust) : Adding LaratrustUserTrait make an error... can I continue with the video or how can I fix this error please ? 😰😥😓
Great tutorial. Enjoyed it
thanks so much for a great tutorial, is Laratrust is also available for version 5.8?? with the same method which is explained in video
Thank you sir, God Bless You..
Thank you so much for the video. Can you please upload the same for laravel 8? I'm starving for your video!!!
thanks for the video, what is your idea when you compare lara trust and laravel permissions packages?
thanks sir...sir but while a user register is registering its showing only user how i can register a user a admin..
Very Helpful. Thank you!
Awesome tutorial, thank you😆
u didn't show about the new register, and the whole thing was about predefined user and admin, what if I want to make a new admin and user?
Same problem, I can only make what is the default. I tried to make AdminRegisterController, but I can't create admin. Too few arguments error
sir please make 3rd part of this video how to utilize this on admin panel like manage user roles update user delete user allow permisson with same laratrust...
Thank you sir, It really helped me a lot
you're the best brother thanks
why dont i have a laratrust_seeder.php
Nice, thanks so much
Thank you very much. I needed it :)
I have a question, but it has little to do with this video, if i use gates, is required also to have route middleware for separate admin and user areas?
Thank you, it was so helpful
How can I show login form if I type path /admin instead of :
forbidden(User does not have any of the necessary access rights.)
@@CodeFisher thank you for your reply its working fine
Awesome! Thanks bro!
i am getting an error when i try to install laratrust sir,
this is what i get
./composer.json has been updated
Running composer update santigarcor/laratrust
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- santigarcor/laratrust[5.0.0, ..., 5.0.x-dev] require illuminate/auth ~5.2
-> found illuminate/auth[v5.2.0, ..., 5.8.x-dev] but these were not loaded, like
ly because it conflicts with another require.
- Root composer.json requires santigarcor/laratrust 5.0.* -> satisfiable by
santigarcor/laratrust[5.0.0, ..., 5.0.x-dev].
Installation failed, reverting ./composer.json and ./composer.lock to their orig
inal content.
how to create different login and register page for 2 users as like for student and a teacher
found any convenient solution yet ? i'm going the bitfumes route. bitfumes.github.io/laravel-multiauth/middleware.html
Create two different welcome page for teacher and student. And you have to create new tables for it
Thank you very much!
@Code Fisher.. Nice tutorial am really looking forward to using it but i have a challenge. I have followed the video minute by minute but i dont seam to get php artisan db:seed to be working.
It tells me that Target class [LaratrustSeeder] does not exist.
Please help me.
same problem, any solution?
Is there any solution regarding this? Im having the same problem too
Database is not getting seed in my case??
Any idea please help
sir thank you so much
Thanks you so much...
I want to stop a logged in user from visiting the login page again, even by entering the URL after he's logged in, it should redirect to another page.
Hence once logged in, you can't view the login page again, until you log out
Help
Sir i'm not receiving data in users table after this command php artisan db:seed.
but i'm receiving data correctly in other tables.
struggling with the same problem
@@mukeshsahu9743 ohoo if you find any way please also inform me
@@mlatifvlogs hi if I have the same problem too but i have fixed it. All you need to do is change "true" in the create_user in "config\laratrust_seeder.php" .
@@moonlightteaa Thankyou so much this helps me a lot
how to print role that attached into an account to my view homepage? Auth::user()->roles?
bonjour pour moi il créé les rôles mais pas les utilisateur à la base de donne avec les données
But why another package !!!.
We can create auth system without any packages then its easy to customise and don't want to see their document each time we customise our code
as well as if we build our own code we can modify without any hesitation
For example laravel 8 use tailwind css and livewire which is cool if you have enough knowledge of laravel auth system
so my suggestion let's build your own code with laravel guards 🙂
thankkkkkkkkkkkkksssssssssssssssssssssssssssssssssssssssssss
generate seed files laratrust.santigarcor.me/docs/6.x/usage/seeder.html#seeder-configuration-file
after i run php artisan db:seed my table user not have 4 record at the table. can you help me to solve this problem? thank u
i have the same problem
@@alejandeodekiev8592 guys, before run php artisan db:seed check in config/larastruct_ seeder.php 'create_users' => true, it will populate the user table
my laratrust_seeder.php is missing ... is this error ? or something ?? please help
sir, did you use middleware. to filter multi user
Hi why is my users table not being seeded? Please advise.
Sir, I'm Using Laravel version 8 with laravel 7 auth. but it's not installing
register user is not working?
thanks
thank u soo much
sir, how do I register another Super administrator?
would this works on laravel 8?
sir how to pass data from user to admin?
will this work with fortify?
I was not created
'supperadministrator' user, 'adminitrator' user and 'user' user in 14:50 and 15:21 . Can you help me ? please (I installed Laravel version 7.17.2)
@@CodeFisher I have the same problem, i ran "php artisan laratrust:seeder". Not working, empty users table.
I had the same problem, by default create_user in "config\laratrust_seeder.php" is on false, change it to true
Hello sir, thanks for the lesson, tried running php artisan laratrust:seeder command
But get an error: failed to open stream: No such file or directory
Kindly help point me to what i might be doing wrong.
Thank you so much.
I encountered this problem, I installed the laratrust version 6.x. The problem is that its not compatible with the composer/laravel that you are currently using. What I did was I downgraded the Laratrust installer into 5.1/5.2 and it worked perfectly fine. I was able to create the Laratrust seeder.
@@CodeFisher Thanks
what about laravel 8 ? any answers ?
Good day sir, Do you have Laravel 7 Vue.Js CRUD tutorial?
i have laravel vuejs crud bro
Hi, Sir My requirement is to add role on registration i.e Client, User etc this is Possible or Not???
@@CodeFisher Sir in 17:11 in the video u specify only one role and our requirement is to customize register view i.e add radio buttons for two roles one is for Client and the other is for User and if a user click on client then to redirect on client page and if he click on user then to redirect on User Page.
this is test comment for my website
Good to know :)
Can we do that with Fortify?
@@CodeFisher thanks
у вас странный английский вы с какой страны
Im a simple human . I see a double adv in the middle of a video .. i hit dislike