When creating any web application, there is seldom a requirement where you only need one level of authentication. Or to be more exact where you have only one type of users. Normally we work win environment where we require an administrative user and another public user. Thus the two users may have different types of data and tables. In such we will also require two different types login processes for each user types. By default laravel ships with User auth model. So how doe we add another authentication model to the system.
Laravel is best installed with the help of dependency manager composer. So jump into getComposer.org if you haven’e installed composer and install composer in your system.
After composer has been properly installed we now set up the laravel framework with composer (optional). Open up a terminal and run