Download the PHP package adamibrahim/superauth without Composer
On this page you can find all versions of the php package adamibrahim/superauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adamibrahim/superauth
More information about adamibrahim/superauth
Files in adamibrahim/superauth
Package superauth
Short Description Laravel 5.6 Authentication Package
License MIT
Homepage https://github.com/adamibrahim/superauth
Informations about the package superauth
Laravel 5.6 Superauth
- Laravel 5.6 Authentication package with
- Multi user type with roles (superadmin, admin, editor, user and featured user)
- User redirect to proper page (profile / admin dashboard)
- Registered user email confirmation using trait (Traits\AuthRedirect)
- User roles sync (include test views url /admin/test, /test/profile )
- Using Laravel Queue Jobs
- Customizable Markdown template for notifications (Confirm Email and Reset password)
- User soft delete (active/inactive)
- Auth roles editing method for testing at profile and dashboard
- All content, message and alerts are localized, languages files in two languages (English, Russian), to insert language switcher please visit my localization easy package adamibrahim/localization
Demo
- Demo account
- Username : [email protected]
- Password : 123456
You can see working demo
Login / Profile / Dashboard Routes
Install
If you are installing at laravel 5.5 or higher then you may go directly to Publish other wise you will need to edit composer.json, register the Service Provider and the middleware
composer.json
Add this code to your composer.json under the autoload at your main directory
Service Provider
At file config/app.php register service provider under * Package Service Providers...
Middleware
if you are using Laravel version lower than 5.5 then you need to register the moderators and Visitor middleware at your App\Http\Kernel.php
- At protected $routeMiddleware = [ ] array add the below code
Publishing
This will overwrite your User.php model
Database Migrating
run the Artisan migration command
Seeding
Run the Artisan Seeding command
Artisan Seed Error
If you receive Class not found Error:
ReflectionException : Class Adam\Superauth\database\seeds\RolesTableSeeder does not exist
Then you may need to dump-autoload by running this command
Then run the seeding command once again
Job Queues
I'm Using Queues to send emails (speed up the app) however if you don't wish to use it you can change at your .env file
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- Hostato
- All Contributors
License
The MIT License (MIT). Please see License File for more information.