widmogrod/zf2-assetic-module

Zend Framework 2 module that provides complete integration of Assetic library

Installs: 40 118

Dependents: 20

Stars: 147

Watchers: 20

Forks: 54

Open Issues: 25

Language: PHP

1.4.0 2015-05-02 13:17 UTC

README

Assets management per module made easy.

  • Optimize your assets. Minify your css, js; Compile scss, and more...
  • Adapts To Your Needs. Using custom template engine and want to use power of this module, just implement AsseticBundle\View\StrategyInterface
  • Well tested. Besides unit test this solution is also ready for the production use.
  • Great fundations. Based on Assetic and ZF2
  • Excellent community. Everything is thanks to great support from GitHub & PHP community!
  • Every change is tracked. Want to know whats new? Take a look at CHANGELOG.md
  • Listen to your ideas. Have a great idea? Bring your tested pull request or open a new issue.

Installation

  1. Install package by composer. Don't know how? Take a look here
{"require": {
    "widmogrod/zf2-assetic-module": "1.*"
}}
  1. Declare AsseticBundle into the application.config.file :
'modules' => array(
     'Application',
     'AsseticBundle' // <= declare you want to use AsseticModule 
)
  1. Create cache and assets directory with valid permissions.
php public/index.php assetic setup
  1. Setup your asset configuration.
cp vendor/widmogrod/zf2-assetic-module/configs/assets.config.php.dist modules/My_Module/configs/assets.config.php

and read how to start guide.

Documentation

Build Status on branch devel