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

This package is auto-updated.

Last update: 2020-06-07 20:30:06 UTC


README

An artifact builder for PHP.

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.