I'm so happy you talk about these Spatie packages. No one else really does, so it keeps your channel unique. Please, please, please do a video on Spatie Crawler! I can't find any info on it.
@Bitfumes6 жыл бұрын
Thanks bro I will surely try that
@abolfazleganji2 жыл бұрын
The best introduction of Spatie/laravel
@pratikshakhedkar35912 жыл бұрын
Best Spatie Laravel Permission Package tutorial. Thank you.
@stilianbrizhatov4 жыл бұрын
when I want to execute the command as at 10:07 and I get an error "There is no role named `admin`", but i have this role and permission in database
@itz_edrisa4 жыл бұрын
Doing this with laravel 8 and jetstream like magic... thanks bro....
@zeshanrabnawaz16992 жыл бұрын
your Enlash is vary fantastic and Soo smooth.great job vary vary nace...🤣😂😂😅
@zohraneda93243 жыл бұрын
Thanks ! Sir , When create role it does not insert into roles table? What should I do Please help me?
@AR_Kids_Toons3 жыл бұрын
Can I use multilevel permission using this package. I mean suppose I have a roll superadmin and I want to assign a permission category and then want to give sub permission like create new category, edit category and delete category
@xat554 жыл бұрын
At 8 minutes you turn to the Rolet class and get the result. But this class is not connected in your header. Why is there no mistake and how did you do it?
@cali44844 жыл бұрын
its hard to find playlist of current-page video . also KZbin`s next button isn't link to next video in its playlist and routes to a random video.. i wish if there was link of current playlist in the description of each video
@bilde81402 жыл бұрын
Hi. how to bind like you did "pa" like a "php artisan" on terminal. Thank you
@javakodingdotcom3 жыл бұрын
Excuse me sir, I want to ask, I have a problem when I want to do php artisan migrate. And I am using laravel version 8.
@majidshah22532 жыл бұрын
Sir give error when i create writer role? Class 'App\Http\Controllers\Role' not found
@AbdulQadeer-gm3uo4 жыл бұрын
how to give a super admin permission i m using return $user->hasRole('super-admin') ? true : null; in authserviceprovider but its not working
@shahmirjadoon13226 жыл бұрын
Hello Sarthik, Will you kindly make a series on Laravel Backups ???
@watchitnowwithajay4 жыл бұрын
does this package support with laravel jetstream livewire
@apomazkov4 жыл бұрын
Usualy creating permissons and roles put indo DB seeds
@hasyidanparamananda5 жыл бұрын
What Extension do you use to make auto import and any of it ?
@EduardoGoHome6 жыл бұрын
Hi, great Tutorial. I'm waiting for the next episode :D
@Szchmausser6 жыл бұрын
same...
@sumitsharma-us2sl6 жыл бұрын
Me too
@RafaelSFTech3 жыл бұрын
Thanks, from Brazil
@ehsanraoufi70052 жыл бұрын
hello sir thanks for this video i want to add tdd in my project with spatie but when i want to add code and test i get this error Class "Spatie\Permission\PermissionRegistrar" not found did you have any solution or video for this problem . how i gave role to my user in tdd.
@sitha1546 жыл бұрын
When i type this Role::create(['name'=>'writer']); i got an error(Class 'App\Http\Controllers\Role' not found)
@tranvanba19925 жыл бұрын
You add the code class HomeController use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission;
@eduardolucas98965 жыл бұрын
@@tranvanba1992 thanks
@imaanhasbullah60205 жыл бұрын
@@tranvanba1992 why i got error : Spatie\Permission\Exceptions\RoleAlreadyExists A role `writer` already exists for guard `web`
@vinitayadav11915 жыл бұрын
@@tranvanba1992 thanks
@MasItings6 жыл бұрын
I wondering why you are using vscode instead sublime ? Is there any package on vscode like sublime have ?
@Bitfumes6 жыл бұрын
Hey, sublime is very good but vscode experience is awesome, and yes it has all the package you will find in sublime.
@PiotrFicner4 жыл бұрын
Thank you for the video. My SQL doesn't refresh and doesn't show info when creating permissions and roles instantly on php artisan serve. Instead it wait on something and when I'm doing it manually, than I can see it. So, I'm ending up with correcting stuff. Do you know why it happening?
@vellvj4 жыл бұрын
is it possible to use the package for API?
@haodphung4 жыл бұрын
Thank you for bring up this great tutorial, i have a question on 6:44, what extension do you use for VScode auto fills out the use namespace?
@vaibhavmehta52605 жыл бұрын
Can we use Spatie Laravel Permission Package with Laravel5.5 + Neo4j DB? I have tried to work on but migration file is not going to support for Permission for the labels and nodes.. Can you please get back to me asap
@codeology16 жыл бұрын
Wow ... amazing tutorial..waiting for the next vedios 👍
@Bitfumes6 жыл бұрын
Ya sure.
@swapnilingle83405 жыл бұрын
Sir how to change the side menu based on the permissions role has??
@oyndrilachowdhury36156 жыл бұрын
Do i need to add auth for using this package?
@wildamardhatillah57843 жыл бұрын
so touching for an excellent video
@brunooliniski25415 жыл бұрын
Someone else with the following error: Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Class 'App\Http\Controllers\Role' not found ??
@serv3rfox5 жыл бұрын
I had it aswell, you need to add the following to the Homecontroller: use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission;
@celebritydev14 жыл бұрын
You guys saved me. Thanks, buddy.
@IngPedroAraujo4 жыл бұрын
Does this package has Laravel 7.x support? Thanks in advanced.
@Bitfumes4 жыл бұрын
yeahhh
@IngPedroAraujo4 жыл бұрын
Another question, please do I need help on how to assign a default role when a user creates an account in the aplication using this package? thanks in advance
@RajeshKumar-cs7mj4 жыл бұрын
in the RegisterController::create() method. here the user is returned directly. make a new variable and set it to returned value . then apply $user->assignRole('admin'); then return $user;
@Mahmudulhasan-ts5hm5 жыл бұрын
how can you insert role and permission, you don't have Role and Permission model ? when i try to insert this role and permission it says "General error: 1364 Field 'guard_name' doesn't have a default value "
@freetemple86125 жыл бұрын
You have to add protected guard_name = "web" into user model
@saidulalam28405 жыл бұрын
sir, think that i am supper admin .I create user & made them admin for different categories. every category has an admin. one category's admin is normal user for others categories. i wanna say that user will be global and roles & permissions will be different according to category. is this possible using this package ? waiting for answering ... THANKS
@athphane6 жыл бұрын
So when is the next video on this coming out?
@arabprofessionalwebschool73336 жыл бұрын
If it is possible for my brother Sartk to use this add-on in a full application until the concept is fully understood
@jezreel48685 жыл бұрын
whenever i run git acm "initial" i got an error git: 'acm' is not a git command. See 'git --help'. The most similar command is am anyone can help me?
@Bitfumes5 жыл бұрын
You need to add these things on your .gitconfig file check this gist, gist.github.com/sarthaksavvy/3016900433910b32043c219cd341afda
@rhan-rhanculubong80114 жыл бұрын
how you do to run it ?
@tonycorenlius5915 жыл бұрын
This is great Tutorial.This is really helpful.
@Webdesignanddevelopment6 жыл бұрын
Hi bro. May I request to you for crating laravel API tutorial. from basic to advance.
@777Vasya776 жыл бұрын
Dingo API
@mukhlisraza3 жыл бұрын
Great Tutorials
@imaanhasbullah60205 жыл бұрын
why i got error : Spatie\Permission\Exceptions\RoleAlreadyExists A role `writer` already exists for guard `web`
@petararandjic6475 жыл бұрын
You probably didn't comented out Permission::create(['name' => 'writer']);
@ArturoLopez-kl1uw5 жыл бұрын
we can doit in laravel versión 5.4?
@Bitfumes5 жыл бұрын
Check package documentation, you will get package version for laravel 5.4
@braivechannel5 жыл бұрын
what themes are you using?
@Bitfumes5 жыл бұрын
Material theme
@youtubewinner83645 жыл бұрын
when i run migrate i just got permissions table
@surajnirala90726 жыл бұрын
Hi, Great Tutorial. please create a tutorial for laravel project deploye on aws server
@adarshchacko61374 жыл бұрын
@bitfumes Yes Sarthak,... Eagerly waiting for that...
@hamzaaltaf89316 жыл бұрын
kindly can you create a different laravel api series and how to integrate with mobile application
@sravankumarsriramula68416 жыл бұрын
Hi Sarthak can you make a web series on Laravel Swoole with websockets as an example.
@alanlemani6416 жыл бұрын
I love the tutorials but can i request a video how angular 5 can be used instead the laravel view. i cant find the tutorial
@prmshzkarmacharya20696 жыл бұрын
when is part two coming out
@afdhalyaned31763 жыл бұрын
What a helpful video..
@rhan-rhanculubong80114 жыл бұрын
$ git acm "initial" git: 'acm' is not a git command. See 'git --help'. The most similar command is am
@Bitfumes4 жыл бұрын
Check this gist, gist.github.com/sarthaksavvy
@manojo1235 жыл бұрын
Thanks for the video. Really helpful
@ts-nq7bo6 жыл бұрын
Sir, Can you please me Database file because I want to download the source code from your github channel.
@kickOffLiveTV4 жыл бұрын
Hi bro, it is great. Vary helpfull. Can you tell how to use this with jwt token using angular. Thanks.
@valcmeza4 жыл бұрын
Very helpful! Thank you.
@kashanmehmood38004 жыл бұрын
vscode theme name?
@SurajMalinga6 жыл бұрын
Great tutorial... Is there any other package better than this? I'm going to develop and RestAPI with Laravel 5.6. Can I achieve same features on api? If you planning to do a series about Rest Api with Multiple roles/ permissions. This is the right time.. ;) Cheers!..
@Bitfumes6 жыл бұрын
Hey, I already have reatapi and permission/role tutorials please search the playlist of our channel. Thanks for watching, please like Bitfumes on facebook/twitter to get latest updates.
@sufiyanjaved54122 жыл бұрын
Your screen reading title hide hide code
@kristofszobacsi51234 жыл бұрын
I appreciate you doing this tutorial really, but who in the world would start making roles and permissions like that? i mean, putting that code in a controller and refreshing the page so it creates the roles and permissions? i suppose you would have to get a form ready, making the index,store, edit function so you could start using it like a human being xD i mean i get it but if someone starts to watch this video and thinks this is the way it has to be handled i would put the computer down and run as far as i can run....
@danielmartins50523 жыл бұрын
Are u serious? Man.. he is teaching HOW TO USE.. not HOW TO CREATE YOUR PROJECT WITH ROLES AND PERMISSIONS.
@ImneverAudreyy4 жыл бұрын
Hi all.anyone did Spatie Permissions Package With JWT For Laravel REST API
@sathyakirthick86902 жыл бұрын
explain wildcard permission
@worldfamous_233 жыл бұрын
Thanks for this
@ayrawings27365 жыл бұрын
This is nice !!! how to implment lumen .
@mohammadawais7443 жыл бұрын
hi, grate work. Laravel 8 i need tutorial video and audio to show and express the code {example 4 user type (super-admin,admin, Data Entry, Data view) and assigning roles and permission also Enable, disables users} but if user register by default (user type "View") and can login based only roles, and permission and also how to add Admin LTE 3 template [ot starter one](sprite Header, footer, contents and left menu side bar) and make routes, Controller and view based on upper requirement ASAP. and make 8 sub menu 1) Dashboard (Total Expanses , Total Borrows, below Show Reports for all user) 2) Management {User(Create ,Edit,Delete,View). Roles(Create ,Edit,Delete,View), Permission(Create ,Edit,Delete,View),user Enable, Disables , Profile} include user photo 3)Expanses (Create,Edit,View) 4)Borrow(Create,Edit,View) 5)Abc(Create,Edit,View) 6)Notification(view based on user Roles, permission) 7)Logout 8)Contact us (Show Software version) can you share your WhatsApp number to discuses other thing if require
@ajimaanandh24544 жыл бұрын
i love it
@sheikhabdullah65745 жыл бұрын
Thank you
@stoianmihail84803 жыл бұрын
You are not making real tutorials. You are just doing the most basic things from the laravel documentation.
@krishnavala27485 жыл бұрын
Thanks Nice
@christiansenmarcus5 жыл бұрын
You could say he's a "Freak"
@delvinnj7941 Жыл бұрын
auth()->user()->givePermission('edit post'); I'd getting an error Call to undefined method App\Models\User::givePermission() class User extends Authenticatable { use HasApiTokens, HasFactory, Notifiable, HasRoles; // Include HasRole in user model }
@anhtuannguyen85673 жыл бұрын
so touching for an excellent video
@amit178275 жыл бұрын
When i type this Role::create(['name'=>'writer']); i got an error(Class 'App\Http\Controllers\Role' not found)
@Bitfumes5 жыл бұрын
Have you use Role model at top on your controller.
@amit178275 жыл бұрын
Bitfumes Webnologies sorry that’s my bad, i have not use Role model at top of the controller. Thank for reply
@muhamadhafizal62334 жыл бұрын
use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission; put at your controller