PHPackages                             bitnetic/maturity - 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. bitnetic/maturity

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

bitnetic/maturity
=================

A laravel-based software maturity feature flags configuration package

0.1.3(7y ago)0513PHP

Since Apr 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bitnetic-software/maturity)[ Packagist](https://packagist.org/packages/bitnetic/maturity)[ RSS](/packages/bitnetic-maturity/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

A simple software maturity feature flag configuration package for Laravel 5.5/5.6
=================================================================================

[](#a-simple-software-maturity-feature-flag-configuration-package-for-laravel-5556)

Laravel ships with *.env* files to give you great flexibility over the configuration and behaviour of your application depending on the environment it is running in.

However, specific environments are a more *technical* aspect, and often this is not the driver for when a functionality should be available or not. Be it *local*, *docker* or *test* - there are a mixture of situations where you would probably not want your software to access a critical 3rd party API, apply strict business rules, store certain data or behave a simpler way than usual.

Using a *maturity*-based approach, you can bundle that behaviour into a handful of levels and and apply it to the different technical environments you are going to set up.

How to install it
-----------------

[](#how-to-install-it)

Just pull in the package via *composer*:

```
$ composer install bitnetic/maturity "0.1.*"

```

The maturity package comes with a config file named *config/maturity.php*. This file is deployed to the central laravel configuration directory using the *vendor:publish* command:

```
$ php artisan vendor:publish --tag=config

```

How to use it
-------------

[](#how-to-use-it)

Insert your desired feature flags:

```
$ vi config/maturity.php

```

Set your planned environment's maturities, e.g.:

```
$ echo "MATURITY=DEV" >> .env
$ echo "MATURITY=PROD" >> .env.aws

```

Check and use feature flags within your business code, e.g.:

```
if (Maturity::has('PROCESS_CREDIT_CARDS')) {
    // ...
}

```

or in your *DatabaseSeeder.php*:

```
public function run()
{
    $this->call(\Acme\Cars\PlateRuleSeeder::class);

    if (Maturity::has('SEED_DEMO_DATA')) {
        // ...
    }
}

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

4

Last Release

2802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/358a3bdb5f4b73c0d583ba8782d27c17678557d7141a6c584b2b7990f04bdbdf?d=identicon)[bitnetic](/maintainers/bitnetic)

---

Top Contributors

[![denudge](https://avatars.githubusercontent.com/u/812769?v=4)](https://github.com/denudge "denudge (6 commits)")

### Embed Badge

![Health badge](/badges/bitnetic-maturity/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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