renegare / configen
Helpful tool to render a file containing mustache tags using environment variables as data (e.g configuration template)
Installs: 476
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/renegare/configen
Requires
- php: >=5.4.0
- mustache/mustache: 2.7.0
- renegare/will: dev-master
- symfony/console: 2.5.6
Requires (Dev)
- mikey179/vfsstream: 1.4.0
- phpunit/phpunit: 4.3.5
This package is not auto-updated.
Last update: 2020-01-06 03:42:04 UTC
README
Helpful tool to render a file containing mustache tags using environment variables as data (e.g configuration template).
You can inject environment variables to be used in the templates.
Example
$ configen /path/to/file.mustache -e EXISTING_ENV -e CUSTOM_VAR=Something
Installation
$ composer global require renegare/configen:dev-master