awd-studio / awd-installer
A plugin to use custom installers for composer (see: https://getcomposer.org/doc/articles/plugins.md)
Installs: 161
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:composer-plugin
pkg:composer/awd-studio/awd-installer
Requires
- php: ^7.4 || ^8.0
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- composer/composer: ^2.0
This package is auto-updated.
Last update: 2025-09-28 19:43:57 UTC
README
A plugin to use custom installers for composer
Installation:
composer install awd-studio/awd-installer
Usage:
Add a block to the extra section with a name awd-additions, and set the path that you need to install extra-libraries to.
{
"extra": {
"awd-additions": "path_that_you_need/{$name}/"
}
}
Then, add an extra-library to repository section, with the type awd-addition.
{
"repositories": [
{
"type": "package",
"package": {
"name": "name-of/my-package",
"version": "1.0",
"type": "awd-addition",
"dist": {
"url": "https://my.repo/extra-lib..zip",
"type": "zip"
},
"bin": [
"runme"
]
}
}
]
}
If you don't need to use library's binaries - that section is nor required.
After those actions you can just require the extra library either with the cli, or in required section:
composer require name-of/my-package
or
{
"require": {
"name-of/my-package": "^1.0"
}
}
Plugin installs the package into the directory, that was set in extra section, with all binaries from the package settings.