├── composer.json ├── LICENSE └── README.md /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "chadicus/slim-oauth2", 3 | "type": "metapackage", 4 | "description": "OAuth2 routes, middleware and utilities for use within a Slim Framework API", 5 | "keywords": ["slim", "oauth2", "middleware", "routes", "http", "api", "psr7"], 6 | "license": "MIT", 7 | "require": { 8 | "php": "^5.6 || ^7.0 || ^8.0", 9 | "chadicus/slim-oauth2-http": "^3.2", 10 | "chadicus/slim-oauth2-middleware": "^3.4", 11 | "chadicus/slim-oauth2-routes": "^3.2" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015-2018 Chad Gray 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Chadicus\Slim\OAuth2 2 | [![Latest Stable Version](https://poser.pugx.org/chadicus/slim-oauth2/v/stable)](https://packagist.org/packages/chadicus/slim-oauth2) 3 | [![Latest Unstable Version](https://poser.pugx.org/chadicus/slim-oauth2/v/unstable)](https://packagist.org/packages/chadicus/slim-oauth2) 4 | [![License](https://poser.pugx.org/chadicus/slim-oauth2/license)](https://packagist.org/packages/chadicus/slim-oauth2) 5 | 6 | [![Total Downloads](https://poser.pugx.org/chadicus/slim-oauth2/downloads)](https://packagist.org/packages/chadicus/slim-oauth2) 7 | [![Daily Downloads](https://poser.pugx.org/chadicus/slim-oauth2/d/daily)](https://packagist.org/packages/chadicus/slim-oauth2) 8 | [![Monthly Downloads](https://poser.pugx.org/chadicus/slim-oauth2/d/monthly)](https://packagist.org/packages/chadicus/slim-oauth2) 9 | 10 | A collection of [OAuth2 Server](http://bshaffer.github.io/oauth2-server-php-docs/) routes, middleware and utilities for use within a [Slim 3 Framework](http://www.slimframework.com/) API 11 | 12 | ## Requirements 13 | 14 | Chadicus\Slim\OAuth2 requires PHP 5.6 (or later). 15 | 16 | ## Composer 17 | To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `chadicus/slim-oauth2` to your project's `composer.json` file such as: 18 | 19 | ```sh 20 | composer require chadicus/slim-oauth2 21 | ``` 22 | 23 | ## Components 24 | 25 | This package is a metapackage aggregating the following components: 26 | 27 | * [chadicus/slim-oauth2-http](https://github.com/chadicus/slim-oauth2-http) 28 | * [chadicus/slim-oauth2-middleware](https://github.com/chadicus/slim-oauth2-middleware) 29 | * [chadicus/slim-oauth2-routes](https://github.com/chadicus/slim-oauth2-routes) 30 | 31 | ## Examples 32 | 33 | Examples can be found in the [examples](examples/) folder. 34 | 35 | ## Community 36 | [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/slim-oauth2/Lobby#) 37 | --------------------------------------------------------------------------------