2017 © Pedro Peláez
 

composer-plugin environment

image

covex-nn/environment

  • Friday, June 22, 2018
  • by covex-nn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 86 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 856 % Grown

The README.md

Environment Configurator

Bootstrap new PHP applications with templates, (*1)

Install

Environment configurator is a composer plugin. It is recomended to install it globaly:, (*2)

composer global require covex-nn/environment

Usage

Usage:
  composer env:apply <sequence> [<target>]

Arguments:
  sequence  Sequence name
  target    Target directory [default: "getcwd()"]

Sequence repository

Try already existing repository with composer global require covex-nn/environment-repository or create your own composer package, add the following to your composer.json:, (*3)

{
    "provide": {
        "environment-repository": "^1.0"
    },
    "extra": {
        "environment-repository": "src/Resources/repository"
    }
}

... where extra.environment-repository is a directory with sequences repository. Register you package in packagist, require a new package globaly with composer global. See how a defalt repository is created here and create and use your own sequences to bootstrap your own applications., (*4)

Configurators

Name Description
composer Merge source json file with composer.json
copy Copy source file to target file
diff Source is text file. If a line begins with +, a new line will be added, if with -, then a line will be removed. A line with - only, target file will be truncated
docker-compose Merge source docker-compose target file into target file
replace Source is a key-value YAML file. replace configurator replace key with value in target file.
yaml Merges source yaml into target yaml file.

The Versions

22/06 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

configurator flex

15/06 2018

0.5.0

0.5.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

configurator flex

13/06 2018

0.4.10

0.4.10.0

  Sources   Download

MIT

The Requires

 

The Development Requires

flex

26/05 2018

0.3.0

0.3.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

flex