tariqul/multiauth

This is package for Multiple Auhtenication on your laravel project

dev-master 2018-11-21 22:43 UTC

This package is auto-updated.

Last update: 2025-06-22 13:31:51 UTC


README

Installation

Laravel

This package can be used in Laravel 5.4 or higher. If you are using an older version of Laravel, take a look at [the v1 branch of this package].

You can install the package via composer:

composer require tariqul/multiauth

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:

'providers' => [
    // ...
    Tariqul\Multiauth\MultiauthServiceProvider::class,
];

You can publish [the migration] with:

php artisan vendor:publish --tag="migration"

You can publish [the migration][spaite laravel permission migration ] with:

php artisan vendor:publish --tag="migrations"

assets for multiauth

php artisan vendor:publish --tag="multiauth_assets"

make auth

php artisan make:auth

After the migration has been published you can create the admins- tables by running the migrations:

php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="config"

You can seed database with:

php artisan multiauth:seed

License

The MIT License (MIT). Please see License File for more information.