unvsoft / composer-extra-installer
Composer Plugin for installing OS specific dependencies
Installs: 5 074
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Type:composer-plugin
pkg:composer/unvsoft/composer-extra-installer
Requires
- composer-plugin-api: *
This package is not auto-updated.
Last update: 2025-12-21 00:15:57 UTC
README
This composer plugin installs extra dependencies like fixtures, or OS specified packages.
It's usefull, if you want install specific packages only for Windows or a many binary packages.
This plugin install only specified packages, and won't download package dependencies.
This plugin will not add specified packages to autoload, there for section autoload not working.
Example usage
composer.json
{
...
"require": {
"unvsoft/composer-extra-installer": "dev-master"
...
},
"extra": {
"extra-require": {
"unvsoft/main-programs": "dev-master"
},
"extra-require-unix": {
"unvsoft/emsow-pacs-bridge": "1.2.1"
},
"extra-require-dev": {
"unvsoft/fixtures/video-samples": "20141117",
"unvsoft/fixtures/images-samples": "20140622"
},
"extra-require-dev-win": {
"dcmtk/dcmtk-unvsoft-win64": "3.6.1-rc20140821",
"imagemagick/imagemagick-q16-win32": "6.8.9-patch5"
}
...
}
...
}
Where packages specified in
require-extrawill be always installed (like require section),require-extra-wininstall when OS is Windows,require-extra-unixinstall when OS like Unix,require-extra-devinstalled when option--no-devnot specifiedrequire-extra-dev-wininstalled when OS is Windows and option--no-devnot specifiedrequire-extra-dev-wininstalled when OS like Unix and option--no-devnot specified