Skip to content

ppi/ppi-bower-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPI Bower Module

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

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

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.