neilime/zf-assets-bundle

Zend Framework 3+ module that provides assets bundling / caching

Fund package maintenance!
neilime

v1.1.0 2022-06-12 09:10 UTC

This package is auto-updated.

Last update: 2024-04-24 22:37:27 UTC


README

a347d680-faf0-11e9-9ced-c9aaa2713010

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