Download the PHP package php-kit/composer-bower-plugin without Composer
On this page you can find all versions of the php package php-kit/composer-bower-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-kit/composer-bower-plugin
More information about php-kit/composer-bower-plugin
Files in php-kit/composer-bower-plugin
Package composer-bower-plugin
Short Description Composer plugin for installing Bower packages
License MIT
Homepage https://github.com/php-kit/composer-bower-plugin
Informations about the package composer-bower-plugin
Composer plugin for installing Bower packages
This Composer plugin allows you to declare, manage and install front-end packages from the Bower repository on your project using Composer.
Besides managing your main application's front-end packages, it also supports package dependencies, i.e. other installed composer packages may define their own bower dependencies.
This plugin will merge all bower dependencies and generate a bower.json
file on the root directory of your project.
You should exclude this file from version control and you should refrain from modifying it, as you may loose any changes you make to it.
Configuring
Dependencies are specified by an extra configuration section on your project's composer.json
or on any
packages' own composer.json
.
bower.json
files are neither required nor supported. This is by design. All configuration information comes fromcomposer.json
.
Supported configuration keys
require
require-dev
overrides
resolutions
Example
root composer.json
Target installation directory
The dependencies will be installed on vendor/bower_components
by default.
You can customize that location via a .bowerrc
file. Refer to the Bower documentation.
Running
The plugin updates bower dependencies whenever one or more packages are installed or removed.
You may then copy the relevant source code files from the installation directory to a public web directory, using your favorite build tool.
License
This library is open-source software licensed under the BSD-2-Clause license (see the accompanying COPYING
file).
Copyright © 2015 by Impactwave Lda [email protected]
Copyright © 2014 by Vivid Planet Software GmbH [email protected]
This project started as a fork of composer-extra-assets plugin, but it has been extensively modified and it is, currently, no longer compatible with it.