phar-io / composer-distributor

Distribute PHAR files via Composer
Other
12 stars 2 forks source link

Allow Mediator to contain only configuration #1

Closed heiglandreas closed 3 years ago

heiglandreas commented 4 years ago

We want to be able to allow the Mediator-Package to only contain two required files:

Where the mediator.json contains the configuration of the plugin that currently resides in the packages Plugin.php file.

That requires this package to contain the appropriate Plugin.php that will then be linkted to from the composer.json and which fetches the plugin-packages mediator.json and uses its content to configure the plugin.