a9f/fractor-extension-installer

Installer for Fractor extensions.

Installs: 4 905

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:composer-plugin

v0.4.0 2024-09-30 19:37 UTC

This package is auto-updated.

Last update: 2024-10-30 19:50:05 UTC


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