supa86000 / zf2-assetic-module
Zend Framework 2模块,提供Assetic库的完整集成
dev-master
2013-12-18 12:26 UTC
Requires
- php: >=5.3.3
- supa86000/zf2-assetic: dev-master
Requires (Dev)
- phpunit/phpunit: 3.7.*
- zendframework/zendframework: 2.*
Suggests
- leafo/lessphp: Assetic provides the integration with the lessphp LESS compiler
- leafo/scssphp: Assetic provides the integration with the scssphp SCSS compiler
This package is not auto-updated.
Last update: 2024-09-24 06:12:09 UTC
README
每个模块的资产管理变得简单。
- 优化您的资源。最小化CSS、JS;编译SCSS等...
- 适应您的需求。使用自定义模板引擎并希望使用此模块的功能,只需实现
AsseticBundle\View\StrategyInterface
- 经过良好测试。除了单元测试外,此解决方案也适用于生产使用。
- 优秀的基石。基于 Assetic 和 ZF2
- 卓越的社区。一切都得益于GitHub和PHP社区的强大支持!
- 跟踪每个变更。想了解最新动态?请查看 CHANGELOG.md
- 倾听您的想法。有好的想法?提交经过测试的拉取请求或打开一个新的问题。
安装
- 通过Composer安装包。不知道如何操作? 请查看这里
{"require": { "widmogrod/zf2-assetic-module": "1.*" }}
- 创建缓存和资源目录,并设置有效权限。
php public/index.php assetic setup
- 设置您的资源配置。
cp vendor/widmogrod/zf2-assetic-module/configs/assets.config.php.dist modules/My_Module/configs/assets.config.php
并阅读 如何开始 指南。