netgusto/distribution-bundle
Composer 安装命令:
composer require netgusto/distribution-bundle
包简介
Symfony2 Project Distribution helper Bundle
关键字:
README 文档
README
Forwarding assets packages to web dir
In app/config.yaml
netgusto_distribution: assets_forwarding: dest_dir: ~ packages: - some/package - some/otherpackage
In composer.json
{
'...',
"scripts": {
"post-install-cmd": [
'...',
"Netgusto\\DistributionBundle\\Composer\\ScriptHandler::forwardAssetsToWebDir"
],
"post-update-cmd": [
'...',
"Netgusto\\DistributionBundle\\Composer\\ScriptHandler::forwardAssetsToWebDir"
]
},
'...',
}
In app/AppKernel.php
$bundles = array( // ... new Netgusto\DistributionBundle\NetgustoDistributionBundle(), // ... );
Packages will be forwarded to web/vendor at composer install, and at every composer update.
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-06