modera / composer-symfony-web-asset-installer-plugin
Installs: 40 377
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- composer/composer: ^2.0
- phake/phake: ^4.0
- phpunit/phpunit: ^6.5
README
The plugin allows to install package which have their type set to symfony-web-asset
to a custom location.
Installation
This plugin can be installed by running this command:
composer require modera/composer-symfony-web-asset-installer-plugin:~1.0
Documentation
Your package needs to have its type set to symfony-web-asset
in order for this plugin to install it to public
directory,
also by optionally specifying target_dir
in your package's extra you can change a directory where its contents will
be extracted to. This is how a sample package could look like:
{
"type": "symfony-web-asset",
"name": "acme/foo-bar",
"extra": {
"target_dir": "hello"
}
}
With this extra configuration package will be installed to public/hello/acme/foo-bar
.
Licensing
This plugin is under the MIT license. See the complete license in the file: LICENSE