delboy1978uk/booty
最新稳定版本:v1.2.2
Composer 安装命令:
composer require delboy1978uk/booty
包简介
Booty is an asset manager for Bone Framework
README 文档
README
Booty is an asset deployment tool (with an optional cli command for use with Bone Framework). v1.x currently takes an array of source folders with a key, and
deploys a symlink to your destination folder (usually your web server's public/ folder)
installation
composer require delboy1978uk/booty
usage
When adding an asset folder, the key name will be converted from any CapsOrCamelCaseEtc to caps-or-camel-case-etc
in the symlink, for better URLs.
<?php use Del\Booty\AssetManager; $am = new AssetManager(); $am->addAssetsFolder('some', 'some/folder/with/css/js/etc'); $am->addAssetsFolder('another', 'another/folder/with/css/js/etc'); $am->setDestinationFolder('/var/www/html/public/'); $am->deployAssets();
bone cli usage
This command will pick up all Bone Framework src/ and vendor/ packages and use the asset manager to deploy the
files to the public/ directory. In your terminal:
bone assets:deploy
or aliased:
bone a:d
统计信息
- 总下载量: 3.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-11