ppi / bower-module
PPI module to manage web assets with Bower
Requires
- ppi/framework: dev-master
- symfony/process: ~2.6
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-09 15:44:51 UTC
README
PPI2 module to manage web assets with Bower.
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.
Requirements
- PHP 5.3.3 and up
- PPI Framework 2 (2.1.x)
- Node.js and Bower
Installation
1. Install 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
2. Install Composer
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
3. Add ppi/bower-module to your composer.json and install it
$ php composer.phar require ppi/bower-module dev-master
Composer will install the module to your project's vendor/ppi
directory.
4. Enable the module
Enable this module by editing app/config/modules.yml
:
modules: - PPI\BowerModule # ...
License
This module is licensed under the MIT License. See the LICENSE file for details.
Authors
- 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.
Submitting bugs and feature requests
Bugs and feature requests are tracked on GitHub.
About PPI
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.