Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cakephp/authorization
PSR7 Middleware for authorization
https://github.com/cakephp/authorization
authorization cakephp cakephp-plugin middleware php psr7-middleware
Last synced: 3 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 (over 6 years ago)
- Default Branch: 3.x
- Last Pushed: 2024-03-18T15:19:58.000Z (3 months ago)
- Last Synced: 2024-03-29T23:02:37.825Z (3 months ago)
- Topics: authorization, cakephp, cakephp-plugin, middleware, php, psr7-middleware
- Language: PHP
- Size: 779 KB
- Stars: 73
- Watchers: 26
- Forks: 48
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Lists
- awesome-cakephp - Authorization plugin - Official CakePHP authorization stack. (Authentication and Authorization)
README
# CakePHP Authorization
![Build Status](https://github.com/cakephp/authorization/actions/workflows/ci.yml/badge.svg?branch=master)
[![Latest Stable Version](https://img.shields.io/github/v/release/cakephp/authorization?sort=semver&style=flat-square)](https://packagist.org/packages/cakephp/authorization)
[![Total Downloads](https://img.shields.io/packagist/dt/cakephp/authorization?style=flat-square)](https://packagist.org/packages/cakephp/authorization/stats)
[![Coverage Status](https://img.shields.io/codecov/c/github/cakephp/authorization.svg?style=flat-square)](https://codecov.io/github/cakephp/authorization)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](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/)