PPI2 module to manage web assets with Bower.
Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.
- PHP 5.3.3 and up
- PPI Framework 2 (2.1.x)
- Node.js and Bower
If Node.js is not yet installed follow the instructions in Installing Node.js via package manager for your OS and distro. Npm is packaged along with Node.
Bower depends on Node and npm. It's installed globally using npm:
npm install -g bower
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
$ php composer.phar require ppi/bower-module dev-master
Composer will install the module to your project's vendor/ppi
directory.
Enable this module by editing app/config/modules.yml
:
modules:
- PPI\BowerModule
# ...
This module is licensed under the MIT License. See the LICENSE file for details.
- Paul Dragoonis - paul@ppi.io ~ twitter.com/dr4goonis
- Vítor Brandão - vitor@ppi.io ~ twitter.com/noiselabs
See also the list of contributors who participated in this project.
Bugs and feature requests are tracked on GitHub.
PPI is an open source PHP meta-framework. It has taken the good bits from Symfony2, ZendFramework2 & Doctrine2 and combined them together to create a solid and very easy web application framework. It can be considered the boilerplate of PHP frameworks.