emanueleminotto / jshrink-service-provider
Jshrink service provider for Silex 1 based on nibsirahsieu/SalvaJshrinkBundle.
1.0.0
2015-10-11 14:28 UTC
Requires
- php: >=5.3.2
- salva/jshrink-bundle: ^1.1.1
- silex/silex: ~1
Requires (Dev)
- phpunit/phpunit: ^4.0
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-11-28 07:20:39 UTC
README
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.