PHPackages                             arif-rh/ci4-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. arif-rh/ci4-auth

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

arif-rh/ci4-auth
================

PHPAuth for CodeIgniter 4

0.4.0(4y ago)31.2k1[1 issues](https://github.com/arif-rh/ci4-auth/issues)1MITPHPCI failing

Since May 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/arif-rh/ci4-auth)[ Packagist](https://packagist.org/packages/arif-rh/ci4-auth)[ Docs](https://github.com/arif-rh/ci4-auth)[ RSS](/packages/arif-rh-ci4-auth/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (4)Versions (11)Used By (1)

PHPAuth for CodeIgniter 4
=========================

[](#phpauth-for-codeigniter-4)

This package is adopted from [PHPAuth](https://github.com/PHPAuth/PHPAuth), but completedly rewrited for easy implementation with CodeIgniter 4.

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

[](#installation)

1. `composer require arif-rh/ci4-auth`
2. make sure you have set you database config properly
3. `php spark migrate -n Arifrh\Auth`
4. `php spark db:seed \\Arifrh\\Auth\\Database\\Seeds\\AuthSeeder`

Features
--------

[](#features)

- Register
- Activation email
- Login
- Request reset password
- Encrypt password using bcrypt
- Prevent brute force attack by limiting request

Acknowledgments
---------------

[](#acknowledgments)

- [PHPAuth](https://github.com/PHPAuth/PHPAuth)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Recently: every ~52 days

Total

10

Last Release

1822d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2386359?v=4)[Arif RH](/maintainers/arif-rh)[@arif-rh](https://github.com/arif-rh)

---

Top Contributors

[![arif-rh](https://avatars.githubusercontent.com/u/2386359?v=4)](https://github.com/arif-rh "arif-rh (13 commits)")

---

Tags

authenticationcodeigniter4-authcodeigniter4-libraryauthAuthenticationcodeigniter 4 authphpauth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arif-rh-ci4-auth/health.svg)

```
[![Health](https://phpackages.com/badges/arif-rh-ci4-auth/health.svg)](https://phpackages.com/packages/arif-rh-ci4-auth)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k50.9M364](/packages/tymon-jwt-auth)[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k143.0M272](/packages/league-oauth2-server)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

83910.6M60](/packages/php-open-source-saver-jwt-auth)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40921.3M85](/packages/auth0-auth0-php)[kreait/firebase-tokens

A library to work with Firebase tokens

23943.8M18](/packages/kreait-firebase-tokens)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k793.0k60](/packages/opauth-opauth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
