PHPackages                             mityay2004/delight-php-auth-2020 - 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. mityay2004/delight-php-auth-2020

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

mityay2004/delight-php-auth-2020
================================

Authentication for PHP optimized for Codeigniter 3. Simple, lightweight and secure.

v1.0.2(5y ago)014MITPHPPHP &gt;=5.6.0

Since Aug 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mityay2004/delight-php-auth-2020)[ Packagist](https://packagist.org/packages/mityay2004/delight-php-auth-2020)[ Docs](https://github.com/mityay2004/delight-php-auth-2020)[ RSS](/packages/mityay2004-delight-php-auth-2020/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Mofified for using in Codeigniter 3
===================================

[](#mofified-for-using-in-codeigniter-3)

\*\*This is adapted for using in Codeigniter 3 version of [delight-im/PHP-Auth](https://github.com/delight-im/PHP-Auth)

Only for MySQL;

Remove final from classes;

Adding language for Exceptions;

Move needed Utilites into package;

Auth
====

[](#auth)

**Authentication for PHP. Simple, lightweight and secure.**

Requirements
------------

[](#requirements)

- PHP 5.6.0+
    - PDO (PHP Data Objects) extension (`pdo`)
        - MySQL Native Driver (`mysqlnd`) **or** PostgreSQL driver (`pgsql`) **or** SQLite driver (`sqlite`)
    - OpenSSL extension (`openssl`)
- MySQL 5.5.3+ **or** MariaDB 5.5.23+
- Codeigniter 3

Installation
------------

[](#installation)

1. Include the library via Composer mityay2004/delight-php-auth-2020:

    ```
    $ composer require mityay2004/delight-php-auth-2020

    ```
2. Include the Composer autoloader:

    ```
    require __DIR__ . '/vendor/autoload.php';
    ```
3. Set up a database and create the required tables:

    - [MariaDB](Database/MySQL.sql)
    - [MySQL](Database/MySQL.sql)
4. Copy files from directory Codeigniter into corresponding folder in Your application
5. In `application/controller/Somecontroller.php` (or best in `application/core/MY_Controller.php`) just after `
