Dulon18 / Multi-Authentication-in-laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Logo

MULTI AUTHENTICATION

Process

  • composer require laravel/ui
  • php artisan ui bootstrap --auth
  • npm install
  • npm run dev
  • Add this "$table->boolean('user_type')->default(0);" in user migration file.
  • php artisan make:middleware IsAdmin

Installation Instructions

  • Clone the repo.
  • Run 'composer install'
  • Run 'cp .env.example .env'
  • Run 'php artisan migrate'
  • Run 'php artisan serve'

Output

multiauth1

multiauth

Thank You

About


Languages

Language:PHP 70.4%Language:Blade 28.4%Language:Shell 0.8%Language:JavaScript 0.2%Language:SCSS 0.2%