PHPackages                             benedmunds/ionauth - 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. benedmunds/ionauth

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

benedmunds/ionauth
==================

Simple and Lightweight Auth System for CodeIgniter

4.0.3(6y ago)2.3k810↑222.2%1.1k[12 issues](https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues)[2 PRs](https://github.com/benedmunds/CodeIgniter-Ion-Auth/pulls)MITPHPPHP &gt;=7.1CI failing

Since Feb 18Pushed 1y ago198 watchersCompare

[ Source](https://github.com/benedmunds/CodeIgniter-Ion-Auth)[ Packagist](https://packagist.org/packages/benedmunds/ionauth)[ Docs](http://benedmunds.com/ion_auth)[ RSS](/packages/benedmunds-ionauth/feed)WikiDiscussions 4 Synced 3w ago

READMEChangelogDependencies (4)Versions (9)Used By (0)

Ion Auth 4
==========

[](#ion-auth-4)

### The future of authentication

[](#the-future-of-authentication)

by [Ben Edmunds](http://benedmunds.com)

Simple and lightweight authentication for your CodeIgniter apps.

Note, this version is meant to be used with CodeIgniter 4 and is not backwards compatible with previous versions. The database is backwards compatible though for those migrating from previous versions.

Server requirements
-------------------

[](#server-requirements)

Ion Auth 4 needs **CodeIgniter 4**.

Documentation
-------------

[](#documentation)

See [USERGUIDE.md](USERGUIDE.md) file.

Upgrading
---------

[](#upgrading)

See [UPGRADING.md](UPGRADING.md) file.

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

[](#installation)

See [INSTALLING.md](INSTALLING.md) file.

Usage
-----

[](#usage)

In the package you will find example usage code in the controllers and views folders. The example code isn't the most beautiful code you'll ever see but it'll show you how to use the library and it's nice and generic so it doesn't require a MY\_controller or anything else.

### Default Login

[](#default-login)

Username: Password: password

### Important

[](#important)

It is highly recommended that you use encrypted database sessions for security!

Support
-------

[](#support)

If you think you've found a bug please [Create an Issue](https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues).

If you need a customization or help implementing Ion Auth into your project please [Email Me for Consulting Information](mailto:ionauth_consulting@benedmunds.com).

If your company would like a support contract or service agreement please [Reach Out](mailto:ionauth_support_contract@benedmunds.com) to discuss available options.

For Help
--------

[](#for-help)

If you're having an issue with CodeIgniter or for general help with development I recommend checking out the [CodeIgniter Forums](http://forum.codeigniter.com).

If you think you've found a bug please [Create an Issue](https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues).

Thanks,
-Ben Edmunds
[benedmunds.com](http://benedmunds.com)
[@benedmunds](http://twitter.com/benedmunds)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community39

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 63.7% 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 ~417 days

Recently: every ~486 days

Total

6

Last Release

599d ago

Major Versions

3.x-dev → 4.x-dev2024-11-02

PHP version history (2 changes)4.0.0PHP &gt;=7.1

3.x-devPHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/8128d02398a1dc346642015ea2d94f0a1aec7b1fd91702845d0d6836d8d9cf77?d=identicon)[benedmunds](/maintainers/benedmunds)

---

Top Contributors

[![benedmunds](https://avatars.githubusercontent.com/u/156823?v=4)](https://github.com/benedmunds "benedmunds (909 commits)")[![avenirer](https://avatars.githubusercontent.com/u/3034772?v=4)](https://github.com/avenirer "avenirer (183 commits)")[![Indigo744](https://avatars.githubusercontent.com/u/7137528?v=4)](https://github.com/Indigo744 "Indigo744 (97 commits)")[![Militis](https://avatars.githubusercontent.com/u/687025?v=4)](https://github.com/Militis "Militis (27 commits)")[![daparky](https://avatars.githubusercontent.com/u/1004912?v=4)](https://github.com/daparky "daparky (18 commits)")[![michaelbrooks](https://avatars.githubusercontent.com/u/1330400?v=4)](https://github.com/michaelbrooks "michaelbrooks (16 commits)")[![DrAliRagab](https://avatars.githubusercontent.com/u/37520558?v=4)](https://github.com/DrAliRagab "DrAliRagab (13 commits)")[![Dentxinho](https://avatars.githubusercontent.com/u/1199765?v=4)](https://github.com/Dentxinho "Dentxinho (12 commits)")[![tagawa](https://avatars.githubusercontent.com/u/94173?v=4)](https://github.com/tagawa "tagawa (12 commits)")[![Tjoosten](https://avatars.githubusercontent.com/u/5157609?v=4)](https://github.com/Tjoosten "Tjoosten (11 commits)")[![appleboy](https://avatars.githubusercontent.com/u/21979?v=4)](https://github.com/appleboy "appleboy (11 commits)")[![jrmadsen67](https://avatars.githubusercontent.com/u/821958?v=4)](https://github.com/jrmadsen67 "jrmadsen67 (9 commits)")[![sepehr](https://avatars.githubusercontent.com/u/23576?v=4)](https://github.com/sepehr "sepehr (8 commits)")[![dgvirtual](https://avatars.githubusercontent.com/u/2669306?v=4)](https://github.com/dgvirtual "dgvirtual (7 commits)")[![Max-02](https://avatars.githubusercontent.com/u/62188685?v=4)](https://github.com/Max-02 "Max-02 (7 commits)")[![suhindra](https://avatars.githubusercontent.com/u/5556047?v=4)](https://github.com/suhindra "suhindra (7 commits)")[![toton333](https://avatars.githubusercontent.com/u/7140284?v=4)](https://github.com/toton333 "toton333 (7 commits)")[![sparky672](https://avatars.githubusercontent.com/u/586756?v=4)](https://github.com/sparky672 "sparky672 (6 commits)")[![cweric](https://avatars.githubusercontent.com/u/1013372?v=4)](https://github.com/cweric "cweric (6 commits)")[![aphofstede](https://avatars.githubusercontent.com/u/701218?v=4)](https://github.com/aphofstede "aphofstede (6 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/benedmunds-ionauth/health.svg)

```
[![Health](https://phpackages.com/badges/benedmunds-ionauth/health.svg)](https://phpackages.com/packages/benedmunds-ionauth)
```

###  Alternatives

[agungsugiarto/boilerplate

CodeIgniter4 Boilerplate based on AdminLTE 3 with user management, roles, permissions, ...

1647.9k](/packages/agungsugiarto-boilerplate)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1111.2k](/packages/abydahana-aksara)[agungsugiarto/codeigniter4-authentication

Provides an API for authentication and includes concrete authentication adapters for common use case scenarios

494.6k2](/packages/agungsugiarto-codeigniter4-authentication)[casbin/codeigniter-permission

Associate users with roles and permissions, use Casbin in CodeIgniter4 Web Framework.

453.1k](/packages/casbin-codeigniter-permission)

PHPackages © 2026

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