burdz/squille-composer-plugin

A Composer plugin to manage Squille plugins

1.0.0 2016-03-25 09:44 UTC

This package is auto-updated.

Last update: 2024-03-29 03:37:40 UTC


README

Build Status

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