hmaus/drafter-installer

Install drafter in your php project with ease

Installs: 70 075

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-11-21 23:36:57 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"
    ]
}