Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chadicus/slim-oauth2

Routes and Middleware for Using OAuth2 Server within a Slim Framework API
https://github.com/chadicus/slim-oauth2

api http middleware oauth2 php psr-7 routes slim

Last synced: 3 days ago
JSON representation

Routes and Middleware for Using OAuth2 Server within a Slim Framework API

Awesome Lists containing this project

README

        

# Chadicus\Slim\OAuth2
[![Latest Stable Version](https://poser.pugx.org/chadicus/slim-oauth2/v/stable)](https://packagist.org/packages/chadicus/slim-oauth2)
[![Latest Unstable Version](https://poser.pugx.org/chadicus/slim-oauth2/v/unstable)](https://packagist.org/packages/chadicus/slim-oauth2)
[![License](https://poser.pugx.org/chadicus/slim-oauth2/license)](https://packagist.org/packages/chadicus/slim-oauth2)

[![Total Downloads](https://poser.pugx.org/chadicus/slim-oauth2/downloads)](https://packagist.org/packages/chadicus/slim-oauth2)
[![Daily Downloads](https://poser.pugx.org/chadicus/slim-oauth2/d/daily)](https://packagist.org/packages/chadicus/slim-oauth2)
[![Monthly Downloads](https://poser.pugx.org/chadicus/slim-oauth2/d/monthly)](https://packagist.org/packages/chadicus/slim-oauth2)

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

## Requirements

Chadicus\Slim\OAuth2 requires PHP 5.6 (or later).

## Composer
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:

```sh
composer require chadicus/slim-oauth2
```

## Components

This package is a metapackage aggregating the following components:

* [chadicus/slim-oauth2-http](https://github.com/chadicus/slim-oauth2-http)
* [chadicus/slim-oauth2-middleware](https://github.com/chadicus/slim-oauth2-middleware)
* [chadicus/slim-oauth2-routes](https://github.com/chadicus/slim-oauth2-routes)

## Examples

Examples can be found in the [examples](examples/) folder.

## Community
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/slim-oauth2/Lobby#)