burdz / squille-composer-plugin
A Composer plugin to manage Squille plugins
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.0@beta
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2024-10-29 05:04:41 UTC
README
This Composer plugin detect Squille plugins into Composer packages and generate a pluging reposity class available in project.
Register a plugin
To register a Squille plugin, you need to add informations into extra part of your composer.json
file.
{ "extra": { "squille-plugin": ["Foo\\Bar\\Plugin\\BazPlugin"] } }
Get plugin list
Into your lib you can access to plugin list like this
<?php include 'vendor/autoload.php'; $plugins = Burdz\Squille\Composer\PluginRepository::getAll();
Testing
$ composer test