zf-assets-bundle

AssetsBundle is a module for Zend Framework 3+ allowing asset management (bundling & caching)

View project on GitHub

Build Status Coverage Status Latest Stable Version Total Downloads License Sponsor

📢 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.

Documentation

  1. Installation
  2. Use with Zend Skeleton Application
  3. Configuration
  4. Custom Js
  5. Console tools
  6. FAQ
  7. Code Coverage
  8. PHP Doc