https://github.com/cakephp/authorization
PSR7 Middleware for authorization
https://github.com/cakephp/authorization
authorization cakephp cakephp-plugin middleware php psr7-middleware
Last synced: 8 months ago
JSON representation
PSR7 Middleware for authorization
- Host: GitHub
- URL: https://github.com/cakephp/authorization
- Owner: cakephp
- License: mit
- Created: 2017-12-12T02:28:42.000Z (about 8 years ago)
- Default Branch: 3.x
- Last Pushed: 2025-04-19T22:17:10.000Z (9 months ago)
- Last Synced: 2025-04-19T23:19:13.830Z (9 months ago)
- Topics: authorization, cakephp, cakephp-plugin, middleware, php, psr7-middleware
- Language: PHP
- Size: 835 KB
- Stars: 75
- Watchers: 27
- Forks: 47
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-cakephp - Authorization plugin - Official CakePHP authorization stack. (Authentication and Authorization)
README
# CakePHP Authorization

[](https://packagist.org/packages/cakephp/authorization)
[](https://packagist.org/packages/cakephp/authorization/stats)
[](https://codecov.io/github/cakephp/authorization)
[](LICENSE)
Authorization stack for the CakePHP framework.
## Authorization not Authentication
This plugin intends to provide a framework around authorization and access
control. Authentication is a [separate
concern](https://en.wikipedia.org/wiki/Separation_of_concerns) that has been
packaged into a separate [authentication plugin](https://github.com/cakephp/authentication).
## Installation
You can install this plugin into your CakePHP application using
[composer](https://getcomposer.org):
```
php composer.phar require cakephp/authorization
```
Load the plugin by adding the following statement in your project's
`src/Application.php`:
```php
$this->addPlugin('Authorization');
```
or running the console command
```
bin/cake plugin load Authorization
```
## Documentation
Documentation for this plugin can be found in the [CakePHP
Cookbook](https://book.cakephp.org/authorization/3/en/)