https://github.com/fabiang/assetic-module
Laminas, Zend Framework and Mezzio module for Assetic. Asset management system for your vendor folders.
https://github.com/fabiang/assetic-module
assetic assets assets-management laminas laminas-mvc mezzio php zend-framework
Last synced: 30 days ago
JSON representation
Laminas, Zend Framework and Mezzio module for Assetic. Asset management system for your vendor folders.
- Host: GitHub
- URL: https://github.com/fabiang/assetic-module
- Owner: fabiang
- License: mit
- Fork: true (widmogrod/zf2-assetic-module)
- Created: 2017-05-31T12:26:09.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-12-16T12:01:35.000Z (about 1 year ago)
- Last Synced: 2025-09-24T18:39:15.023Z (4 months ago)
- Topics: assetic, assets, assets-management, laminas, laminas-mvc, mezzio, php, zend-framework
- Language: PHP
- Homepage:
- Size: 543 KB
- Stars: 5
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# AsseticBundle v3.x
[](https://packagist.org/packages/fabiang/assetic-module)
[](https://packagist.org/packages/fabiang/assetic-module)
[](https://github.com/fabiang/assetic-module/actions/workflows/ci.yml)
[](https://scrutinizer-ci.com/g/fabiang/assetic-module/?branch=develop)
[](https://scrutinizer-ci.com/g/fabiang/assetic-module/?branch=develop)
Currently maintained fork of [widmogrod/zf2-assetic-module](https://github.com/widmogrod/zf2-assetic-module).
**Note:** Please consider using a different framework for managing your assets, e.g., Webpack.
While this is still maintained, this module is considered feature-complete and, therefore, only bug fixes will be accepted.
## Features
* [x] Add support for PHP 8.0+
* [x] Drop support for PHP <7.4
* [x] Remove support for Zend Framework
* [x] Use return-types and type-hints everywhere
* [x] Support for Mezzio (sorry no Expressive)
## 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 `Fabiang\AsseticBundle\View\StrategyInterface`
* **Well tested**. Besides unit test this solution is also ready for the production use.
* **Great fundations**. Based on [Assetic](https://github.com/assetic/framework) and [Laminas](https://getlaminas.org)
* **Excellent community**. Everything is thanks to great support from GitHub & PHP community!
* **Every change is tracked**. Want to know whats new? Take a look at [CHANGELOG.md](https://github.com/fabiang/assetic-module/blob/main/CHANGELOG.md)
* **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](https://github.com/fabiang/assetic-module/blob/main/docs/howto-mvc.md)
or [the quick start guide for Mezzio?](https://github.com/fabiang/assetic-module/blob/main/docs/howto-mezzio.md)
## Documentation
* [How to start with Laminas MVC?](https://github.com/fabiang/assetic-module/blob/main/docs/howto-mvc.md)
* [How to start with Mezzio?](https://github.com/fabiang/assetic-module/blob/main/docs/howto-mezzio.md)
* [Configuration](https://github.com/fabiang/assetic-module/blob/main/docs/config.md)
* [Tips & Tricks](https://github.com/fabiang/assetic-module/blob/main/docs/tips.md)
* [Migration guide](https://github.com/fabiang/assetic-module/blob/main/docs/migration.md)