emanueleminotto/jshrink-service-provider

Jshrink service provider for Silex 1 based on nibsirahsieu/SalvaJshrinkBundle.

1.0.0 2015-10-11 14:28 UTC

This package is auto-updated.

Last update: 2021-09-28 00:22:59 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score

A Jshrink provider for Silex based on nibsirahsieu/SalvaJshrinkBundle.

Install

Via Composer

$ composer require emanueleminotto/jshrink-provider

Usage

Initialize it using register

use EmanueleMinotto\JshrinkServiceProvider\JshrinkServiceProvider;

$app->register(new JshrinkServiceProvider(), array(
    'jshrink.cache_dir' => '/your/cache/path', // default: sys_get_temp_dir()
    'jshrink.enabled' => true,
    'jshrink.flagged_comments' => true,
));

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.