raulfraile/jivaro

PHP library to minify CSS, JS and HTML

Installs: 2 346

Dependents: 1

Watchers: 1

Language: PHP

1.0.0-beta1 2013-09-14 23:24 UTC

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version

Jivaro is a simple library to minify, combine and embed CSS and JavaScript files. It is written in PHP and does not have external dependencies.

<?php
$jivaro = new Jivaro\Compressor\Css();

echo $jivaro
    ->addFile(__DIR__ . '/files/test1.css')
    ->minify()
    ->getContents();

Credits

License

Jivaro is released under the MIT License. See the bundled LICENSE file for details.