Download the PHP package shawnsandy/dash-auth without Composer
On this page you can find all versions of the php package shawnsandy/dash-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shawnsandy/dash-auth
More information about shawnsandy/dash-auth
Files in shawnsandy/dash-auth
Package dash-auth
Short Description Dash auth
License MIT
Homepage https://github.com/shawnsandy/dashauth
Informations about the package dash-auth
Dashauth
Dash Auth is simple way to create & manage Bouncer Roles & Abilities.
Install
Via Composer
-
Add the package to your
composer.json
file as VCS repository, sorry there is no packagist install just yet. - From the command prompt run the above to install the package
Usage
Quick Start Laravel 5.5x and greater
-
Add the SUPER_ADMIN_EMAIL to your .env file with the email of the registered user that will act as your super-admin.
-
From the console use the
--tag
option to publishconfig file
-
Edit the config settings (optional), go to
config/dashauth.php
- Add the default dash routes, open
routes\web.php
file and add the above
Setup SuperAdmin Role
- Set the superadmin email in you
.env
file[email protected]
- Next go to
yoursite.com/dashauth
and create a super admin - Manage \ View privileges
yoursite.com/dashauth/privileges
Manage Roles Component
Add the manage roles component to application passing the user info $user = User::find(1)
- Dash auth comes with a simple component to manage roles you can add the component
forms.roles
component to you user record.
Manage Abilities (privileges)
-
Assign and remove abilities to/from using the
dashauth::components.privileges
component.Larvel 5.4x
Add the service provider to the config/app.php file
Add the facade to config/app.php file
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- [Shawn Sandy][link-author]
- [All Contributors][link-contributors]
License
The MIT License (MIT). Please see License File for more information.
All versions of dash-auth with dependencies
illuminate/contracts Version ~5.4|~5.5
illuminate/http Version ~5.4|~5.5
illuminate/support Version ~5.4|~5.5