PHPackages                             elmyrockers/ezauth - 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. elmyrockers/ezauth

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

elmyrockers/ezauth
==================

EzAuth PHP library - Lightweight &amp; easy authentication library with secure 'remember me' feature for PHP. With this, you just need to write a few lines of PHP code only in each pages.

1.0.1(1y ago)118MITPHPPHP &gt;=7.4CI passing

Since Sep 1Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (11)Versions (3)Used By (0)

EzAuth (Experimental)
=====================

[](#ezauth-experimental)

Lightweight &amp; easy authentication library with secure 'remember me' feature for PHP. With this, you just need to write a few lines of PHP code only in each pages.

Usage/Examples
--------------

[](#usageexamples)

#### 1. Installation:

[](#1-installation)

Install the EzAuth package using Composer:

```
composer require elmyrockers/ezauth
```

#### 2. bootstrap.php:

[](#2-bootstrapphp)

Create `bootstrap.php` file. The complete code for this file should look like this:

```
// bootstrap.php
