hmaus / drafter-installer
Install drafter in your php project with ease
Installs: 70 106
Dependents: 5
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 3
Open Issues: 0
Type:custom-installer
Requires (Dev)
- composer/composer: ^1.2
This package is auto-updated.
Last update: 2024-12-21 23:49:07 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" ] }