saeven/laminas-assetic

Laminas+Assetic module that provides complete integration of Assetic library for PHP 8.1.

dev-main 2022-04-25 17:54 UTC

This package is not auto-updated.

Last update: 2024-10-23 03:56:37 UTC


README

Manage your Laminas assets in conjunction with assetic/framework, wired through Laminas config.

Acknowledgements

Credit given to all predecessors, thank you.

Todo

  • Connect tests to a proper GitHub action
  • Fix this README and its links

What is this?

Assets management per module made easy. Every module can come with their own assets (JS, CSS, Images etc.) and this module make sure the assets are moved into your public folder and are directly available in your views.

This also helps you to load all assets for your Laminas application which you've installed with npm, yarn etc.

  • Optimize your assets. Minify your css, js; compile scss, and more...
  • Adapts To Your Needs. Using custom template engine and want to use power of this module, just implement Circlical\AsseticBundle\View\StrategyInterface
  • Well tested. Besides unit test this solution is also ready for the production use.
  • Great fundations. Based on Assetic and Laminas
  • Excellent community. Everything is thanks to great support from GitHub & PHP community!
  • Listen to your ideas. Have a great idea? Bring your tested pull request or open a new issue.

Installation

Read the quick start guide for Laminas\Mvc or the quick start guide for Mezzio?

Documentation

Developing

We've two main branches here:

  • master: current version with dropped Zend Framework and added Mezzio support
  • 2.x: version compatible with Zend Framework 2/3 and Laminas