All Projects → mtvbrianking → Multi Auth

mtvbrianking / Multi Auth

Licence: mit
Laravel Multi-Authentication Package

Projects that are alternatives of or similar to Multi Auth

Laravel Scaffold
The base for developing awesome projects
Stars: ✭ 142 (+8.4%)
Mutual labels:  laravel, authentication, scaffold
Eloquent Ldap
A Laravel 5.1 package that first tries to log the user against the internal database if that fails, it tries against the configured LDAP/AD server.
Stars: ✭ 19 (-85.5%)
Mutual labels:  laravel, authentication
Scaffold Interface
🚀 A Smart CRUD Generator For Laravel
Stars: ✭ 836 (+538.17%)
Mutual labels:  laravel, scaffold
Authen
🚦 User Authentication Identifiers for Laravel
Stars: ✭ 53 (-59.54%)
Mutual labels:  laravel, authentication
Sudo Su
Laravel package to easily login as other users during development.
Stars: ✭ 554 (+322.9%)
Mutual labels:  laravel, authentication
Google2fa Laravel
A One Time Password Authentication package, compatible with Google Authenticator for Laravel
Stars: ✭ 618 (+371.76%)
Mutual labels:  laravel, authentication
Laravel5.7 Vue Cli3 Boilerplate
Boilerplate / Starter kit. Laravel 5.7, Vue CLI 3 — Authentication with Email Verification. REST API.
Stars: ✭ 52 (-60.31%)
Mutual labels:  laravel, authentication
Auth Tests
Always-current tests for Laravel's authentication system. Curated by the community.
Stars: ✭ 230 (+75.57%)
Mutual labels:  laravel, authentication
Larafast Fastapi
A Fast Laravel package to help you generate CRUD API Controllers and Resources, Model.. etc
Stars: ✭ 91 (-30.53%)
Mutual labels:  laravel, scaffold
Laravel Single Session
This package prevents a User from being logged in more than once. It destroys the previous session when a User logs in and thereby allowing only one session per user.
Stars: ✭ 95 (-27.48%)
Mutual labels:  laravel, authentication
Sentinel
A framework agnostic authentication & authorization system.
Stars: ✭ 1,354 (+933.59%)
Mutual labels:  laravel, authentication
Laravel Acl
This package helps you to associate users with permissions and permission groups with laravel framework
Stars: ✭ 404 (+208.4%)
Mutual labels:  laravel, authentication
Permissionmanager
Admin interface for managing users, roles, permissions, using Backpack CRUD
Stars: ✭ 363 (+177.1%)
Mutual labels:  laravel, authentication
Laravel
Laravel Model Generator
Stars: ✭ 715 (+445.8%)
Mutual labels:  laravel, scaffold
Shinobi
👺 Simple and light-weight role-based permissions system for Laravel's built in Auth system.
Stars: ✭ 349 (+166.41%)
Mutual labels:  laravel, authentication
Larawiz
Larawiz is a easy project scaffolder for Laravel
Stars: ✭ 28 (-78.63%)
Mutual labels:  laravel, scaffold
Jwt Auth
🔐 JSON Web Token Authentication for Laravel & Lumen
Stars: ✭ 10,305 (+7766.41%)
Mutual labels:  laravel, authentication
Laravel Adminless Ldap Auth
Authenticate users in Laravel against an adminless LDAP server
Stars: ✭ 199 (+51.91%)
Mutual labels:  laravel, authentication
Laravel Auth
Laravel 8 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. The project can be stood u…
Stars: ✭ 2,692 (+1954.96%)
Mutual labels:  laravel, authentication
Brandenburg
Laravel Authentication Package
Stars: ✭ 79 (-39.69%)
Mutual labels:  laravel, authentication

Laravel Multi-Authentication Package

Total Downloads Latest Stable Version License Build Status

This package simplifies multi authentication for your Laravel project, it will scaffold all the files you need for creating a custom guard as well as setting it up ready for use.

Version Compatibility

Laravel Package Installation
5.3 2.x composer require bmatovu/multi-auth 2.*
5.4 3.x composer require bmatovu/multi-auth 3.*
5.5 4.x composer require bmatovu/multi-auth 4.*
5.6 5.x composer require bmatovu/multi-auth 5.*
5.7 6.x composer require bmatovu/multi-auth 6.*
5.8 7.x composer require bmatovu/multi-auth 7.*
6.0 8.x composer require bmatovu/multi-auth ^8.0
7.0 9.x composer require bmatovu/multi-auth ^9.0
8.0 master composer require bmatovu/multi-auth

The service provider will be auto-discovered for Laravel 5.5 and above. Alternatively; you may manually register the service provider in your configuration config/app.php file:

'providers' => array(
    // ...
    Bmatovu\MultiAuth\MultiAuthServiceProvider::class,
),

Bootstrapping

php artisan multi-auth:install {guard}

Default guard is named: admin be sure to use a guard name that suits your needs. This command will scaffold configurations, controllers, middleware, migrations, models, factories, notifications, routes, and views; to get you started.

See a full list of files created, or affected at files.md

Run Database Migrations

php artisan migrate

Getting started

Compile CSS and JS (Optional)

The Bootstrap and Vue scaffolding provided by Laravel as of version 6.0 is now located in the laravel/ui Composer package.

Laravel 8 has shifted the official Authentication support to Laravel/Fortify. This package is still scaffolding auth based off the laravel/ui but we intend to catch up ASAP.

Note: This should only be done for fresh installations.

composer require laravel/ui

php artisan ui bootstrap

npm install && npm run dev

Serve application

http://127.0.0.1:8000/{guard}

Extras

Check guards

$ php artisan tinker
...
>>> config('auth.guards');

Access guard instance:

Specify the guard instance you would like to use, eg using admin guard...

Auth::guard('admin')->user();

Check routes:

To find out which routes have been created for your guard.

php artisan route:list

Email verification:

You may require users to verify their email addresses before using the application. Read the wiki on how to enable this.

Reporting bugs

If you've stumbled across a bug, please help us by leaving as much information about the bug as possible, e.g.

  • Steps to reproduce
  • Expected result
  • Actual result

This will help us to fix the bug as quickly as possible, and if you wish to fix it yourself feel free to fork the package and submit a pull request!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].