PHPackages                             srtfisher/codeigniter-features - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. srtfisher/codeigniter-features

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

srtfisher/codeigniter-features
==============================

Codeigniter Feature Flags

0.5(13y ago)96.7k2MITPHPPHP &gt;=5.2

Since Dec 3Pushed 13y agoCompare

[ Source](https://github.com/srtfisher/Codeigniter-Features)[ Packagist](https://packagist.org/packages/srtfisher/codeigniter-features)[ Docs](https://seanfisher.co/)[ RSS](/packages/srtfisher-codeigniter-features/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Codeigniter Feature Flags
=========================

[](#codeigniter-feature-flags)

Enabling features for select users is a fun and also productive way to develop new features into a site. You can enable features, or certain sections of code based upon a number of factors. Take a look at config/features.php for more on that.

Setting Up
----------

[](#setting-up)

You need to set the current user's ID before you can use the User ID part of this. You can do that by calling: `$this->feature->set_user($the_user_id);`

Using the Flags
---------------

[](#using-the-flags)

Setting up the flags are simple. We included a helper function to test for the feature with the current user to make your life even simplier! Just use this code

```

```

Questions?
----------

[](#questions)

Shoot me an email at

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

2

Last Release

4950d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/338d27065b1074f2d66d049d742f22996dd137eef6f91bc8f75350ceee1e8ef2?d=identicon)[srtfisher](/maintainers/srtfisher)

---

Top Contributors

[![srtfisher](https://avatars.githubusercontent.com/u/346399?v=4)](https://github.com/srtfisher "srtfisher (8 commits)")

---

Tags

librarycodeigniterfeaturesfeature flag

### Embed Badge

![Health badge](/badges/srtfisher-codeigniter-features/health.svg)

```
[![Health](https://phpackages.com/badges/srtfisher-codeigniter-features/health.svg)](https://phpackages.com/packages/srtfisher-codeigniter-features)
```

###  Alternatives

[league/iso3166

ISO 3166-1 PHP Library

69837.6M135](/packages/league-iso3166)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

297.4M2](/packages/dekor-php-array-table)[compwright/codeigniter-installers

Composer installers for CodeIgniter

2983.6k4](/packages/compwright-codeigniter-installers)

PHPackages © 2026

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