Download the PHP package kawsuj/knock without Composer
On this page you can find all versions of the php package kawsuj/knock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package knock
Knock: Roles and Permissions
Description
Provides a simple framework for Laravel 5.2 projects requiring user roles and permissions. It includes a user interface to manage your application's users and their permitted actions.
Installation
Please note that these installation notes assume you have a clean installation of Laravel 5.2.
Running the database migration will delete and recreate your users table if you already have one.
Edit composer.json
Edit your application's composer.json file to add this package to the require section as follows:
Update Composer
cd to your application's root folder and update composer as follows:
Edit config/app.php
Edit your application's config/app.php file:
Add the following to the providers section:
Add the following to the aliases section:
Edit config/auth.php
Edit your application's config/auth.php file:
Change the providers/users/model array as follows:
Change the passwords/users/email array as follows:
Publish
cd to your application's root folder to publish assets, migrations, seeds, and middleware as follows:
Edit app/Http/Kernel.php
Edit your application's app/Http/Kernel.php file and add the following to the $routeMiddleware array:
Database Migration
cd to your application's root folder and run the database migration
Database Seeder
cd to your application's root folder and run the database seeder.
Note: You may need to run composer dump-autoload before running the seeder
The installation is now complete!
Navigate to http://your-installation-url/knock
Sign in
For access to Users And Permissions and
username:
password:
For access to Users but NOT Permissions and
username:
password:
When signed in, you will be directed to the Knock home page where there are further user instructions.
All versions of knock with dependencies
laravelcollective/html Version ~5.0
yajra/laravel-datatables-oracle Version ~5.0