PHPackages                             niktux/karma - 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. [CLI &amp; Console](/categories/cli)
4. /
5. niktux/karma

ActiveScript[CLI &amp; Console](/categories/cli)

niktux/karma
============

CLI tool to manage environment dependent configuration

8.4.0(6mo ago)1816.0k7[4 issues](https://github.com/Niktux/karma/issues)MITPHPPHP &gt;=8.4CI passing

Since Jan 19Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/Niktux/karma)[ Packagist](https://packagist.org/packages/niktux/karma)[ Docs](http://karma-php.com)[ RSS](/packages/niktux-karma/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (8)Versions (50)Used By (0)

Karma
=====

[](#karma)

PHP CLI tool to hydrate source code with environment dependent values

**⚠️ *PHP7.4 users, please use Karma 7.4.x***

**⚠️ *PHP5 users and PHP 7.3- users, please use Karma 5.x***

QA
--

[](#qa)

[![SensioLabsInsight](https://camo.githubusercontent.com/6354374c9cf0087f64ac97286fa38898889b126f43ac6f4c6845a06c1cae3220/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39343038336162312d313631332d343663312d623338302d6563353735393236616533392f6269672e706e67)](https://insight.sensiolabs.com/projects/94083ab1-1613-46c1-b380-ec575926ae39)

ServiceResult**Packagist**[![Latest Stable Version](https://camo.githubusercontent.com/c43191567343b4f2632791f8936bdd237ce6d05d76fa27eb4e717981e0f6eb7d/68747470733a2f2f706f7365722e707567782e6f72672f6e696b7475782f6b61726d612f762f737461626c652e706e67)](https://packagist.org/packages/niktux/karma)Installation
------------

[](#installation)

Download latest phar (recommended) :

```
  wget https://github.com/Niktux/karma/releases/latest/download/karma.phar

```

Or use composer (disapproved)

```
{
    "require": {
        "niktux/karma" : "~8.4"
    }
}
```

Full Documentation
------------------

[](#full-documentation)

You can find it here :  (offline) --&gt;

Versionning
-----------

[](#versionning)

Karme use semver. It supports PHP 5.6 until Karma 5.6 version. Next version dropped 5.6 support but also 7.0 to 7.3 one : that's why we jumped from Karma 5.6 to ... Karma 7.4

As Karma is a mature tool and do not need to evolve, versionning currently follows php's one for easier compatibility reading.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance61

Regular maintenance activity

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity94

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98% 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 ~99 days

Recently: every ~466 days

Total

44

Last Release

207d ago

Major Versions

2.2.0 → 3.0.02014-05-22

3.3.0 → 4.0.02014-10-21

4.0.4 → 5.0.02015-03-27

5.6.0 → 7.4.02020-09-15

7.4.1 → 8.1.02022-12-27

PHP version history (6 changes)1.0PHP &gt;=5.4

5.6.0PHP &gt;=5.6

7.4.0PHP &gt;=7.4

8.1.0PHP &gt;=8.1

8.3.0PHP &gt;=8.3

8.4.0PHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef9ee486788a46b481a3badd881772db2c776afa85f09aabef831cc383ecc8d7?d=identicon)[nlenardou](/maintainers/nlenardou)

---

Top Contributors

[![Niktux](https://avatars.githubusercontent.com/u/615193?v=4)](https://github.com/Niktux "Niktux (444 commits)")[![lavenant-domisys](https://avatars.githubusercontent.com/u/24407660?v=4)](https://github.com/lavenant-domisys "lavenant-domisys (5 commits)")[![lebris](https://avatars.githubusercontent.com/u/1222200?v=4)](https://github.com/lebris "lebris (3 commits)")[![seblavenant](https://avatars.githubusercontent.com/u/1909020?v=4)](https://github.com/seblavenant "seblavenant (1 commits)")

---

Tags

configurationenvironment

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/niktux-karma/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[civicrm/cv

CLI tool for CiviCRM

4219.8k](/packages/civicrm-cv)

PHPackages © 2026

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