PHPackages                             utopia-php/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. utopia-php/auth

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

utopia-php/auth
===============

A simple PHP authentication library

0.7.1(1w ago)3122.0k↓11.1%11MITPHPPHP &gt;=8.1

Since Mar 8Pushed 1w ago1 watchersCompare

[ Source](https://github.com/utopia-php/auth)[ Packagist](https://packagist.org/packages/utopia-php/auth)[ RSS](/packages/utopia-php-auth/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (8)Versions (13)Used By (1)

Utopia Auth
===========

[](#utopia-auth)

Important

This repository is a read-only mirror of the [utopia-php monorepo](https://github.com/utopia-php/monorepo). Development happens in [`packages/auth`](https://github.com/utopia-php/monorepo/tree/main/packages/auth) — please open issues and pull requests there.

[![Total Downloads](https://camo.githubusercontent.com/ff120898013af0a3867dde63c5b4e167a330bd276de9bedc37699575053ce8a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f617574682e737667)](https://camo.githubusercontent.com/ff120898013af0a3867dde63c5b4e167a330bd276de9bedc37699575053ce8a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f617574682e737667)[![Discord](https://camo.githubusercontent.com/6e418910df1b6eb524c6cbd88dbaf5a5aa294316eeadcd963e11262a319f6321/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3536343136303733303834353135313234343f6c6162656c3d646973636f7264)](https://appwrite.io/discord)

Utopia Auth is a simple, dependency-free PHP library for building authentication and authorization: secure password hashing, authentication proofs (tokens, codes, phrases), and signing/verifying OAuth2 and OpenID Connect JWTs. It is maintained by the [Appwrite team](https://appwrite.io).

Although it is part of the [Utopia Framework](https://github.com/utopia-php/framework) project, it is dependency free and can be used standalone with any PHP project or framework.

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/auth
```

```
