Skip to content
This repository

ZendFramework 2 Assets provider module

branch: master

Zend Framework 2 Assets module

Provide assets trought a route. All assets content is filtred and cached. Text assets like .css and .js is rendered like a regular php with PhpRenderer.


'assets' => array(
    'paths'     => array(
        APP_PATH . '/assets'
    'filters' => array(
    'cache' => 'Cache'

Rendered asset ( css or js )

<?php $size = 100; ?>

.box {
    width:<?php echo $size; ?>px;

.style {

<?php echo $this->render("other-cssfile"); ?>

Accessing the assets

Folder path

Something went wrong with that request. Please try again.