Laravel - Multiauth Admin Package | Why another Package ? #1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello and welcome to big films and your hosts are tuck and in this episode I'm going to introduce you with this new package called level multi awed created by myself obviously and this is a great great package it's all for you and you have probably seen this playlist from my channel for creating the multi art and lots of you have problem in creating the multi odd because we need to do not in lot of things and that's the point I thought that why not create are just a package instead of this tutorial obviously you have this tutorial and all the steps in the studio are implemented in this package so it's not a difficult thing but it's just a wrapper of this tutorials but you will say southwark we have lots of packages and the most famous multi odd package is this one and this package will create multi authentication just like for admin for strength or for master whatever you want to call just run this command after installing this package and you will have that multi authentication in the level application so what is different or what is unique with your package we will see these things in just a moment but there are various steps involved in creating the multi auth I have added some of the flavors in this package that will excite you so let's start the demonstration of this level multi oz package with a fresh installation of level which is actually here so what I'm going to do I will show you that let's start server and by the way this PA is just an alias for PHP artisan just check out the link in the description to have the video for creating the alias so our server is here let's go here and you can see if I go to slash mean we don't have any route for this that's why I think sorry the page you're looking is not found and obviously we don't have that simple login system which is given by the level itself so let's install this package and see the magic so it's same you need to say composer require big films level multi OTT and remember one thing this is on my personal github repo or F sarthak and it's not on slash betweens on the bit films I generally do the tutorial related things and for packages I have my personal github triple steal so this is good so let's install it so a new tab and composer require bit films multi odd so now you can see the package is successfully installed with zero point two point one version and now what I'm going to do I will just restart the server and now I will go here on the same application and we have seen that if we go to admin we didn't get anything but now because the package installed I have the install run this route and obviously you have this super-awesome package you don't need to run any command just by including this package you get all the features of an authentication for the login and the most important and most exciting part of this you don't even need to configure anything this package is totally separate from your application so this package doesn't publish anything on everywhere like this package is publishing it just publish each and everything model migration controller view route everything on your application so by to suppose for some reason you just want to roll back these things or for some reason you don't want this package then how do you delete these files which is published by this package so this is very cool and yes we can login but how we can login because we do not have any any user or we can say any admin or even they can't see the registration system here so because this is a multi auth come admin section so an admin section only super admin can create other admins otherwise everyone who know that there is a route of admin can go and register so we don't want that so but how we can first time login well the super you super admin okay for that you need to run this command the first admin the super admin PHP artisan multi auth feed and with the role of super that's good so here we have and run this command so this is good and it says the problem is the local host that means r dot env file is not configured with the database so let's say I have a database called multi auth so root and password is nothing so let's clean it this restart the server let's say PHP artisan migrate and I will use fresh command so that I have everything fresh on my table so now we have the table we have the connection this will going to create an admin with now you can login with super at admin calm and password is secret this is great so let's go super at admin.com password it's secret login and wallah will you have this admin section ready to run and not only that you have some system where you can register new admin you can assign you can even register new role and assign the new tool created new role here you can assign more than one role so we will see all these things and other features in the next episode so I think this is the package you will love and share with other friends and don't forget to hit the star and again I am Telling You so this is great and we will meet in the next episode till then if you have not subscribed go and sow scribe and follower films on Facebook and Twitter so till then bye-bye
Info
Channel: Bitfumes
Views: 33,365
Rating: undefined out of 5
Keywords: multiauth, laravel multi auth, laravel multi auth 5.6, laravel multi auth 5.5, laravel multiple authentication, multi auth, multi auth laravel, multi auth laravel 5.6, multiple authentication in laravel, multiple authentication in laravel 5.6, laravel admin panel, laravel admin dashboard, admin login laravel, admin login laravel 5.5, admin login laravel 5.4, laravel package, laravel packages tutorial, admin permissions
Id: imv1HOoqA7Q
Channel Id: undefined
Length: 6min 47sec (407 seconds)
Published: Tue Aug 28 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.