PSR7 Middleware for authorization
Clone or download
markstory Merge pull request #61 from Zuluru/master
Allow for non-object resources in authorize
Latest commit 18a8213 Nov 4, 2018

readme.md

CakePHP Authorization

Software License Build Status Coverage Status

Authorization stack for the CakePHP framework.

This plugin is for CakePHP 3.5+.

Authorization not Authentication

This plugin intends to provide a framework around authorization and access control. Authentication is a separate concern that has been packaged into a separate authentication plugin.

Installation

You can install this plugin into your CakePHP application using composer:

php composer.phar require cakephp/authorization

Load the plugin by adding the following statement in your project's src/Application.php:

$this->addPlugin('Authorization');

Prior to 3.6.0

Plugin::load('Authorization');

Documentation