hmaus/drafter-installer

Install drafter in your php project with ease

Installs: 69 957

Dependents: 5

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 3

Open Issues: 0

Type:custom-installer

v1.0.1 2018-07-08 10:44 UTC

This package is auto-updated.

Last update: 2024-07-21 23:03:49 UTC


README

Install drafter in your php project with ease.

Installation

The recommended way to install drafter-installer is composer:

composer require hmaus/drafter-installer

Add config to extra:
Pass the tag of drafter to install

"extra": {
    "drafter-installer-tag": "v3.2.7"
}

Add it to scripts:

"scripts": {
    "install-drafter": "Hmaus\\Drafter\\Installer::installDrafter"
}

You may also consider adding a reference to your update and install hooks:

"scripts": {
    "post-install-cmd": [
        "@install-drafter"
    ],
    "post-update-cmd": [
        "@install-drafter"
    ]
}