neilime / zf-assets-bundle
Zend Framework 3+ module that provides assets bundling / caching
Fund package maintenance!
neilime
Requires
- php: >=7.1
- zendframework/zend-config: ^3.3.0
- zendframework/zend-console: ^2.8
- zendframework/zend-eventmanager: ^3.2.1
- zendframework/zend-http: ^2.11.2
- zendframework/zend-modulemanager: ^2.8.4
- zendframework/zend-mvc: ^3.1.1
- zendframework/zend-mvc-console: ^1.2.0
- zendframework/zend-servicemanager: ^3.4
- zendframework/zend-view: ^2.11
Requires (Dev)
- leafo/scssphp: ^0.8.4
- mrclay/jsmin-php: ^2.4
- neilime/lessphp: ^0.5.0
- oyejorge/less.php: v1.7.0.14
- php-coveralls/php-coveralls: ^2.5
- phpunit/phpunit: ^7.5
- tedivm/jshrink: ^1.4
- tubalmartin/cssmin: ^4.1
- zendframework/zend-test: ^3.3
Suggests
- ext-gd2: GD library to compress png files
- leafo/scssphp: SCSS compiler, used by ScssAssetFileFilter
- mrclay/jsmin-php: Port of Douglas Crockford's jsmin.c, used by JsMinAssetFileFilter
- neilime/lessphp: Lessphp compliant fork, used by LesscAssetFileFilter
- oyejorge/less.php: Less parser, used by LessphpAssetFileFilter
- tedivm/jshrink: Javascript Minifier, used by JShrinkAssetFileFilter
- tubalmartin/cssmin: PHP port of the YUI CSS compressor, used by CssAssetFileFilter
This package is auto-updated.
Last update: 2024-12-25 00:04:25 UTC
README
📢 AssetsBundle is a module for Zend Framework 3+ providing assets management (minifier, bundler & cache) like Css, Js, Less and Scss, dedicated to current module, controller and action.
This module is "development / production" environment aware.
🔧 In development:
- Css & Js files are not bundled for easier debugging.
- Less & Scss files are compiled when updated or if an "@import" file is updated
🚀 In production:
- All asset files (Css, Js, medias) are minified, bundled and cached only if once.
- Assets path are encrypted to mask file tree (with the exception of files in the "assets" public directory)
Helping Project
❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !
Contributing
👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.