delboy1978uk/booty 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

delboy1978uk/booty

最新稳定版本:v1.2.2

Composer 安装命令:

composer require delboy1978uk/booty

包简介

Booty is an asset manager for Bone Framework

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License
build status Code Coverage Scrutinizer Code Quality
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
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-11