Skip to content

Here 3 types of authenticate Admin [login], users[ registration & login ] & Vendors [ registration & login ]

Notifications You must be signed in to change notification settings

Nirjhor3029/laravel_multiAuth

Repository files navigation

Setting up the environment

  1. clone the git

  2. composer update --no-scripts

  3. cp .env.example .env

  4. php artisan key:generate

  5. Create db and change the credential inside the env file[DB name, Username, password]

  6. Before doing the migrate check if the AppServiceProvider is config for the 191 string length add the following line in the top of the AppServiceProvider.php file

    use Illuminate\Support\Facades\Schema;

Then add the following schema inside the boot function

  schema::defaultStringLength(191);

This will prevent from database error when migrated as the length will be 1024 and the mysql db gives default length 1000
7. php artisan migrate

here no need: 8. php artisan migrate:refresh --seed (It will create a new user dummy one in the system automatically, admin, admin@gmail.com, secret plus all the needed seed for the catagory)

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Here 3 types of authenticate Admin [login], users[ registration & login ] & Vendors [ registration & login ]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published