dev-master
9999999-devComposer Installer Packaging Plugin for XP Framework
BSD-3-Clause
The Requires
- composer-plugin-api ^1.0
The Development Requires
Composer Installer Packaging Plugin for XP Framework
This plugin enabled Composer to install packages written with the XP Framework., (*1)
This is work-in-progress, at an experimental (even pre-alpha) level., (*2)
To use this plugin in a project, you need to have a composer.json
file:, (*3)
{ "name" : "kiesel/composer-example", "minimum-stability": "dev", "repositories" : [ { "type": "vcs", "url": "https://github.com/kiesel/oauth" }, { "type": "vcs", "url": "https://github.com/kiesel/xp-composer-installer" }, { "type": "vcs", "url": "https://github.com/kiesel/core" } ], "require" : { "xp-forge/oauth": "dev-composer" } }
Then, run composer install
. What now effectively happens is:, (*4)
xp-forge/oauth
will be fetched, branch composer
will be used.xp-framework/core
which will then be fetched.xp-forge/xp-composer-installer
which is a Composer plugin,
so that will be fetched, as well.*.pth
files, and their contents be added to
this project's composer.pth
.Notes:, (*5)
xp-composer-plugin
is a Composer plugin responsible for handling xp-library
types
of dependencies.composer.json
fileminimum-stability: dev
line can probably be removedComposer Installer Packaging Plugin for XP Framework
BSD-3-Clause