aanro / aanro-role
aanro Role is a part of aanro Monster Components.
1.0.0
2018-06-30 06:20 UTC
Requires
- php: >=5.3.0
- laravel/framework: 5.2.*|5.3.*|5.4.*
- zizaco/entrust: 5.2.x-dev
Requires (Dev)
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2024-11-04 16:06:52 UTC
README
Someline Role is a part of Someline Monster Components.
Build for Laravel and Someline Starter.
Install
Via Composer
`` Install composer package to your laravel project
composer require someline/someline-role
Add Service Provider to config/app.php
'providers' => [ ... Someline\Role\SomelineRoleServiceProvider::class, ... ],
Publishing config file.
php artisan vendor:publish
After published, config file for Rest Client is config/someline-role.php
, you will need to config it to use Rest Client.
Usage
Routes
Route::post('/role', 'RoleController@postRole');
Testing
phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.