fabiang / assetic-module
Zend Framework/Laminas module that provides complete integration of Assetic library
Installs: 9 264
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 62
Open Issues: 2
Requires
- php: ^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
- assetic/framework: ^3.0
- laminas/laminas-view: ^2.12
- symfony/console: ^4.0 || ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- laminas/laminas-coding-standard: *
- laminas/laminas-diactoros: >=2.10
- laminas/laminas-mvc: >=3.3
- mezzio/mezzio: >=3.10
- mezzio/mezzio-helpers: >=5.8
- mezzio/mezzio-router: >=3.8
- phpspec/prophecy: >=1.20
- phpspec/prophecy-phpunit: >=2.3
- phpunit/phpunit: >=9.5.28
- psr/http-server-middleware: ^1.0
- scrutinizer/ocular: dev-master
- slevomat/coding-standard: *
- squizlabs/php_codesniffer: *
- vimeo/psalm: *
- webmozart/assert: *
Suggests
- laminas/laminas-mvc: When using this module together with Laminas MVC
- leafo/lessphp: Assetic provides the integration with the lessphp LESS compiler
- leafo/scssphp: Assetic provides the integration with the scssphp SCSS compiler
- mezzio/mezzio: When using this module together with Mezzio
- mezzio/mezzio-helpers: When using this module together with Mezzio
- mezzio/mezzio-router: When using this module together with Mezzio
- psr/http-server-middleware: When using this module together with Mezzio
Replaces
- widmogrod/zf2-assetic-module: v3.5.0
This package is auto-updated.
Last update: 2024-12-16 12:01:38 UTC
README
Currently maintained fork of 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
- Add support for PHP 8.0+
- Drop support for PHP <7.4
- Remove support for Zend Framework
- Use return-types and type-hints everywhere
- 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 and Laminas
- 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
- 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?