transparent css/js compressor for cakePHP 2.0
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Config
Console/Command/Task
Controller/Component
Lib
Model
Test
Vendor
View/Helper
webroot
README.md

README.md

Baklava Plugin

Use Baklava to transparently compress, combine and cache your css and javascripts.

In app/Config/bootstrap.php:

either

CakePlugin::loadAll()

or

CakePlugin::loadAll(array(
    ...
    'Baklava' => array(),
));

In your AppController:

    ...
    public $helpers = array(
        'Html' => array(
            'className' => 'Baklava.BaklavaHtmlHelper',
        ),
        'Js' => array(
            'className' => 'Baklava.BaklavaJsHelper',
        ),
    );
    ...

Options

...

Extended Usage

...

Custom Compressors

...