https://github.com/cakephp/authorization
PSR7 Middleware for authorization
https://github.com/cakephp/authorization
authorization cakephp cakephp-plugin middleware php psr7-middleware
Last synced: 7 days 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 (over 7 years ago)
- Default Branch: 3.x
- Last Pushed: 2024-10-18T15:54:31.000Z (6 months ago)
- Last Synced: 2024-10-29T23:49:59.471Z (6 months ago)
- Topics: authorization, cakephp, cakephp-plugin, middleware, php, psr7-middleware
- Language: PHP
- Size: 797 KB
- Stars: 76
- Watchers: 28
- Forks: 46
- 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/)