Plugins
{
"name": "vendor/plugin-name",
"description": "",
"keywords": [],
"homepage": "http://internet.org",
"require-php": {
"vendor/package": "dev-version"
},
"require-plugin": {
"vendor/plugin": "dev-version"
},
"require-js": {
"library": "version"
},
"assets-js": [
"directory"
],
"assets-css": [
"directory"
],
"assets-images": [
"directory"
]
}
Essentially, we need a plugin system that:
In other words, if I am a developer, I should be able to write a plugin, specify which third-party libraries I need, specify any other plugins I depend on, specify any JavaScript libraries I depend on, and finally, declare which CSS and image resources I have.
As a user, I would expect the system to be able to show me available plugins, let me install those plugins, and take care of everything the plugin needs to operate.