You can install Laravel 5.6 with Multiple Authentication (Admin and Users).
How to use:
- Clone this repository
- Run
composer install
- Rename .env.example to .env
- Open .env file and setup your database
- Run
php artisan key:generate
- Run
php artisan migrate
- Use tinker to set Admin email and password
php artisan tinker $admin = App\Admin $admin->email = 'admin@app.com' $admin->password = Hash::make('adminpassword') $admin->save()
- Run
php artisan serve
and go to localhost