PHPackages                             vielhuber/simpleauth - 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. vielhuber/simpleauth

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

vielhuber/simpleauth
====================

Simple php authentication library.

1.6.8(2mo ago)3280↓50%MITPHPPHP &gt;=8.0

Since Aug 8Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/vielhuber/simpleauth)[ Packagist](https://packagist.org/packages/vielhuber/simpleauth)[ RSS](/packages/vielhuber-simpleauth/feed)WikiDiscussions main Synced 1mo ago

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

[![build status](https://github.com/vielhuber/simpleauth/actions/workflows/ci.yml/badge.svg)](https://github.com/vielhuber/simpleauth/actions)

🔒 simpleauth 🔒
==============

[](#-simpleauth-)

simpleauth is a simple php based authentication library.

it leverages:

- json web tokens
- bcrypted passwords
- full api

installation
------------

[](#installation)

install once with composer:

```
composer require vielhuber/simpleauth

```

now simply create the following files in a new folder called `auth` inside your public directory:

#### /auth/index.php

[](#authindexphp)

```
