speedwork / installer
A composer plugin, to help install packages of different types.
Installs: 454
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.6
- composer-plugin-api: *
Requires (Dev)
- phpunit/phpunit: ~5.5
- satooshi/php-coveralls: 2.*
This package is not auto-updated.
Last update: 2018-06-29 16:31:20 UTC
README
A composer plugin, to install differenty types of composer packages in custom directories outside the default composer default installation path which is in the vendor
folder.
Installation
- Include the composer plugin into your
composer.json
require
section::
"require":{
"php": ">=5.3",
"speedwork/installer": "dev-master"
}
Manage assests in components, modules and widgets
"extra": {
"assets-dir" : "mypackage",
"assets" : {
"src/mypackage/assets/*.js" : "js/",
"src/mypackage/assets/*.css" : "css/",
"src/mypackage/assets/fonts/*" : "fonts/"
}
}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Make your changes
- Run the tests, adding new ones for your own code if necessary (
phpunit
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request