goez/drafter-installer

Install drafter in your php project with ease

Installs: 9

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Type:custom-installer

2.0.2 2022-06-07 04:08 UTC

This package is auto-updated.

Last update: 2024-04-07 08:15:18 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": "Goez\\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"
    ]
}