Developed with love by KnpLabs Hire us for your project!
241

SpBowerBundle

by Spea

Symfony2 Bundle to handle asset dependencies with bower

SpBowerBundle

The SpBowerBundle adds support for handling asset dependencies with bower in a nice way.

Features included:

  • Install bower packages in your bundles with one command
  • Register all installed bower packages as assets so they can be used in templates
  • Unit tested

Caution: This bundle is developed in sync with symfony's repository.

Bower >= 1.0.0

Since version 0.8 the bundle fully supports bower >= 1.0.0.
If you used version 0.7 before, you might want to read the upgrade instructions to 0.8.

Bower < 1.0.0

If you are still using a bower version < 1.0.0, you must use a Version lower or equal to
0.7 from this bundle.

Build Status Latest Stable Version Total Downloads

Documentation

Read the Documentation for master

Read the Documentation for 0.1

Installation

All the installation instructions are located in the documentation.

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

When reporting a bug, it may be a good idea to reproduce it in a basic project
built using the Symfony Standard Edition
to allow developers of the bundle to reproduce the issue by simply cloning it
and following some steps.

Copyright (c) 2012 Spea (Martin Parsiegla)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
sp_bower:
bin: /usr/bin/bower
offline: false
allow_root: false
cache_dir: %kernel.cache_dir%/sp_bower
install_on_warmup: false
keep_bowerrc: false
assetic:
enabled: true
nest_dependencies:

# Default:
all: 1
filters:
css: []
js: []
packages:

# Prototype
name:
css: []
js: []
bundles:

# Prototype
name:
config_dir: Resources/config/bower
cache:
directory: ../../public/components/cache
id: ~
asset_dir: ../../public/components
json_file: bower.json
endpoint: https://bower.herokuapp.com
  • Merge pull request #124 from lavoiesl/hhvm-composer
    By Spea, 1 year ago
  • Added support for HHVM in ScriptHandler
    By lavoiesl, 1 year ago
  • Merge pull request #118 from acrobat/phpcs-fixes
    By Spea, 2 years ago
  • Minor phpcs fixes
    By acrobat, 2 years ago
  • Merge pull request #102 from chellem/master
    By Spea, 2 years ago
  • add bowerUpdate to ScriptHandler
    By Chellem, 2 years ago
  • Bump version to 0.12
    By Spea, 2 years ago
  • Prepare 0.11 release
    By Spea, 2 years ago
  • Update phpunit and use it for travis
    By Spea, 2 years ago
  • Update changelog
    By Spea, 2 years ago
  • Merge pull request #96 from jrobeson/patch-2
    By Spea, 2 years ago
  • Merge pull request #95 from jrobeson/patch-1
    By Spea, 2 years ago
  • use psr-4 autoloader
    By jrobeson, 2 years ago
  • bower is moving from component.json to bower.json
    By jrobeson, 2 years ago
  • Use realpath to remove possible relative paths
    By Spea, 2 years ago
  • Merge pull request #92 from stephanvierkant/patch-1
    By Spea, 2 years ago
  • Update configuration_reference.md
    By , 2 years ago
  • Merge pull request #89 from amarisi/master
    By Spea, 2 years ago
  • File @author fix
    By amarisi, 2 years ago
  • Update command added
    By amarisi, 2 years ago
  • Merge pull request #86 from sstok/patch-1
    By Spea, 2 years ago
  • update ScriptHandler.php for Symfony3 support
    By sstok, 2 years ago
  • Bump version to 0.11
    By Spea, 2 years ago
  • Prepare 0.10 release
    By Spea, 2 years ago
  • Update changelog
    By Spea, 2 years ago
  • Add php 5.6 and hhvm-nightly to travis.yml
    By Spea, 2 years ago
  • Merge pull request #82 from Opifer/composerlock
    By Spea, 2 years ago
  • Ignore composer.lock
    By rvanlaarhoven, 2 years ago
  • Update dependencies
    By Spea, 2 years ago
  • Refactor event dispatching
    By Spea, 2 years ago