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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires illuminate/support Version ^5.2
laravelcollective/html Version ~5.0
yajra/laravel-datatables-oracle Version ~5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kawsuj/knock contains the following files

Loading the files please wait ....