Download the PHP package jameron/regulator without Composer
On this page you can find all versions of the php package jameron/regulator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jameron/regulator
More information about jameron/regulator
Files in jameron/regulator
Package regulator
Short Description Auth and role/permissions manager
License MIT
Homepage http://cjmacfarlane.com
Informations about the package regulator
This package has been built to work with Laravel 5.4.33 and later. (Some older versions of Laravel may not be compatible.)
This package contains methods and traits that can be used with your project, and optionally you can use the views for your UX. If you are using the admin views, make sure you also require the admin package found here: Admin package
Your composer file would look like so:
Let's see if we can't get you up and running in 10 steps. If you are starting fresh, create your laravel application first thing:
composer create-project --prefer-dist laravel/laravel blog
1) Add the package to your compose.json file:
**NOTE Laravel 5.5+ users there is auto-discovery so you can ignore steps 2 and 3
2) Update your providers:
3) Update your Facades:
4) Publish the sass, js, and config:
**NOTE: Select the number that coorelates to the jameron/regulator package
5) Run your migrations:
**NOTE: the Regulator package depends on Laravel Auth so if you haven't set it up yet run:
**NOTE: DELETE the Auth::routes() from routes/web.php, the Regulator package includes these routes for you.
Alright now go ahead and migrate:
If you get this error
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))bash
php artisan session:table
php artisan migrate javascript .js('resources/assets/regulator/js/RegulatorDependencies.js', 'public/js/Regulator.js') .sass('resources/assets/regulator/sass/regulator.scss', 'public/css')
npm install vuex --save
npm run dev