a9f / fractor-extension-installer
Installer for Fractor extensions.
Installs: 6 205
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:composer-plugin
Requires
- php: ^8.2
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.7
README
Composer plugin for automatic installation of Fractor extensions.
Usage
composer require --dev a9f/fractor-extension-installer
Instructions for extension developers
It's best to set the extension's composer package type to fractor-extension
for this plugin to be able to recognize it and to be discoverable on Packagist.
Add fractor
key in the extension composer.json
's extra
section:
{ "extra": { "fractor": { "includes": [ "config/config.php" ] } } }
Limitations
The extension installer depends on Composer script events, therefore you cannot use --no-scripts
flag.
Acknowledgment
This package is heavily inspired by phpstan/extension-installer by Ondřej Mirtes. Thank you.
Development
Development happens in the Fractor monorepo on GitHub