simon-barton / zf2-assetic-module

Zend Framework module for Assetic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsseticBundle v1.4 Build Status

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

About

Zend Framework module for Assetic


Languages

Language:PHP 99.2%Language:JavaScript 0.5%Language:HTML 0.2%Language:CSS 0.1%