keun e755510f00 Ajouter au dépot le dossier "vendor" | преди 8 години | |
---|---|---|
.. | ||
Composer | преди 8 години | |
Converter | преди 8 години | |
Event | преди 8 години | |
Exception | преди 8 години | |
Installer | преди 8 години | |
Package | преди 8 години | |
Repository | преди 8 години | |
Resources | преди 8 години | |
Tests | преди 8 години | |
Type | преди 8 години | |
Util | преди 8 години | |
.gitignore | преди 8 години | |
.scrutinizer.yml | преди 8 години | |
.travis.yml | преди 8 години | |
AssetEvents.php | преди 8 години | |
Assets.php | преди 8 години | |
FxpAssetPlugin.php | преди 8 години | |
README.md | преди 8 години | |
composer.json | преди 8 години | |
composer.lock | преди 8 години | |
phpunit.xml.dist | преди 8 години |
The Composer Asset Plugin allows you to manage project assets (css, js, etc.) in your composer.json
without installing NPM or Bower.
This plugin works by transposing package information from NPM or Bower to a compatible version for Composer. This allows you to manage asset dependencies in a PHP based project very easily.
composer.json
ignore
will not be installeddepends
diagnose
licenses
remove
require
search
(bower only)show
status
There already are several possibilities for managing assets in a PHP project:
composer.json
file (and use Packagist or an VCS Repository)composer.json
with a direct download linkIt goes without saying that each javascript, CSS, etc. library should be developed with the usual tools for that language, which front-end developers know well. However, in the case of a complete project in PHP, it shouldn’t be necessary to use several tools (PHP, Nodejs, Composer, NPM, Bower, Grunt, etc.) to simply install these assets in your project.
This plugin has been created to address these issues. Additionally, most developers will not add a composer.json
file to their projects just to support php based projects, especially when npm and/or bower already exist and are
widely used.
The bulk of the documentation is located in Resources/doc/index.md
:
All the installation instructions are located in documentation.
This composer plugin is under the MIT license. See the complete license in:
Fxp Composer Asset Plugin is a François Pluchino initiative. See also the list of contributors.
Issues and feature requests are tracked in the Github issue tracker.