Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fastybird/simple-auth

:closed_lock_with_key: PSR-7 authentication & authorization utils
https://github.com/fastybird/simple-auth

authentication authorization doctrine fastybird middleware nette nette-extension psr-7

Last synced: about 1 month ago
JSON representation

:closed_lock_with_key: PSR-7 authentication & authorization utils

Awesome Lists containing this project

README

        

# FastyBird simple authentication library

[![Build Status](https://badgen.net/github/checks/FastyBird/simple-auth/main?cache=300&style=flast-square)](https://github.com/FastyBird/simple-auth/actions)
[![Licence](https://badgen.net/github/license/FastyBird/simple-auth?cache=300&style=flast-square)](https://github.com/FastyBird/simple-auth/blob/main/LICENSE.md)
[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/simple-auth?cache=300&style=flast-square)](https://coveralls.io/r/FastyBird/simple-auth)

![PHP](https://badgen.net/packagist/php/FastyBird/simple-auth?cache=300&style=flast-square)
[![Latest stable](https://badgen.net/packagist/v/FastyBird/simple-auth/latest?cache=300&style=flast-square)](https://packagist.org/packages/FastyBird/simple-auth)
[![Downloads total](https://badgen.net/packagist/dt/FastyBird/simple-auth?cache=300&style=flast-square)](https://packagist.org/packages/FastyBird/simple-auth)
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan)

***

## What is FastyBird simple authentication library?

This is a [Nette framework](https://nette.org) extension which is implementing [JWT](https://jwt.io/) services & basic
user authentication.

### Features:

- Access tokens manager for [Doctrine2](https://www.doctrine-project.org)
- [PSR-7](http://www.php-fig.org/psr/psr-7/) middleware for authentication
- [PSR-7](http://www.php-fig.org/psr/psr-7/) middleware for authorization
- [Doctrine2](https://www.doctrine-project.org) entity owner mapping
- [PHPDoc](https://en.wikipedia.org/wiki/PHPDoc) access validation for controllers

## Installation

The best way to install **fastybird/simple-auth** is using [Composer](http://getcomposer.org/):

```sh
composer require fastybird/simple-auth
```

## Documentation

Learn how to use build JWT tokens and handle access to you resources
in [documentation](https://github.com/FastyBird/simple-auth/blob/main/.docs/en/index.md).

***
Homepage [https://www.fastybird.com](https://www.fastybird.com) and
repository [https://github.com/FastyBird/simple-auth](https://github.com/FastyBird/simple-auth).