Skip to content

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

License

Notifications You must be signed in to change notification settings

neilime/zf-assets-bundle

Repository files navigation

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. Usage for "development / production" environment
  5. Custom Js
  6. Console tools
  7. FAQ
  8. Code Coverage
  9. PHP Doc