niktux / karma
CLI tool to manage environment dependent configuration
Requires
- php: >=8.4
- knplabs/gaufrette: ~0.11
- pimple/pimple: ~3.5
- psr/log: ~3.0
- symfony/console: ~7.1
- symfony/yaml: ~7.1
Requires (Dev)
- phpunit/phpunit: ~12
- ptrofimov/xpmock: 1.1.5
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2026-05-23 12:48:20 UTC
README
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
| Service | Result |
|---|---|
| Packagist |
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
You can find it here : http://karma-php.com/ (offline) --> https://github.com/Niktux/karma-docs
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.