Home

Awesome

Composer Compile Plugin Build Status

The "Compile" plugin enables developers of PHP libraries to define free-form "compilation" tasks, such as:

For site-builders who use these PHP libraries, compilation tasks run seamlessly during the regular download (composer install, etc).

For developers who publish PHP libraries, a task can be as simple as:

{
  "require": {"civicrm/composer-compile-plugin": "~0.14"},
  "extra": {
    "compile": [
      {"run": "@sh cd css; cat one.css two.css three.css > all.css"}
    ]
  }
}

Tasks may be defined in several ways, including:

Features:

Documentation

See also