Zend Framework module for Assetic
PHP Other
Latest commit ddc7459 Sep 19, 2016 @widmogrod committed on GitHub Merge pull request #154 from MatthiasKuehneEllerhold/factory_getLastM…
…odified_in_cache_buster

 CacheBuster: use AssetFactory::getLastModified($asset)
Permalink
Failed to load latest commit information.
assets add gitignore files Nov 5, 2011
bin Adding Symfony Console Aug 8, 2016
configs remove zend-console Aug 10, 2016
docs Adding Symfony Console Aug 8, 2016
src/AsseticBundle CacheBuster: use AssetFactory::getLastModified($asset) instead of $a… Sep 19, 2016
tests
views/asseticexample some draft approach Oct 30, 2011
.gitignore New release 1.4.0 May 2, 2015
.travis.yml removed php 5.5 from travis Jul 5, 2016
CHANGELOG.md
Module.php Attach listener if NOT cli Aug 10, 2016
README.md update version numer Aug 10, 2016
Vagrantfile
composer.json remove zend-console Aug 10, 2016
phpunit.xml.dist

README.md

AsseticBundle v2.0 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 & ZF3
  • 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": "^2.0"
}}
  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.
vendor/bin/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