PHPackages                             firehed/auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. firehed/auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

firehed/auth
============

Authentication toolset

0.2.2(10y ago)122MITPHPPHP &gt;=7

Since Apr 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Firehed/auth)[ Packagist](https://packagist.org/packages/firehed/auth)[ RSS](/packages/firehed-auth/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

Auth
====

[](#auth)

Auth is a library designed to take the complexity out of multi-factor and high-security authentication in PHP projects. Data is stored in [JWTs](http://jwt.io) which are tamper-resistant, permitting authentication information to be stored completely client-side without the need for a database[1](#user-content-fn-db-0ff138eb95389c69d96dd50a01db86d3).

By implementing a single interface, your existing PHP app can flexibly support MFA without being tied to a specific provider or implementation. Thanks to being based on open standards, the authentication data can be used with any framework, and even ported to other programming languages.

A simple example
----------------

[](#a-simple-example)

```
