selective / artifact
This package is abandoned and no longer maintained.
The author suggests using the deployer/deployer package instead.
Artifact builder
0.2.3
2020-03-06 18:15 UTC
Requires
- php: ^7.1
- ext-json: *
- ext-zip: *
- symfony/console: ^2.8|^3.0|^4.0|^5.0
Requires (Dev)
- overtrue/phplint: ^1.1
- php-mock/php-mock: ^2.1
- phpstan/phpstan-shim: ^0.11
- phpunit/phpunit: ^7
- squizlabs/php_codesniffer: ^3.4
README
An artifact builder for PHP.
Requirements
- PHP 7.1+
Installation
composer require selective/artifact --dev
Optional: Add this script to your composer.json file:
{
"scripts": {
"build": "artifact build --name=my_app"
}
}
Usage
To generate the artifact (zip file) for deployment, run:
vendor/bin/artifact build --name=my_app
You may also use composer:
composer build
The generated artifact will be stored in the build/ directory.
Commands
| Command | Description |
|---|---|
| build | Build the artifact. |
Parameters
| Parameter | Values | Default | Description |
|---|---|---|---|
| --name | string | my_app | The zip file prefix. |
Testing
composer test
Similar tools
License
The MIT License (MIT). Please see License File for more information.