silverstripe/vendor-plugin-helper 问题修复 & 功能扩展

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

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

silverstripe/vendor-plugin-helper

Composer 安装命令:

composer require silverstripe/vendor-plugin-helper

包简介

Assists with linking vendor modules to the public webroot

README 文档

README

When installing SilverStripe modules in the vendor directory it may also be necessary to ensure certain module assets are exposed to the webroot, as the 'vendor' url prefix is blocked from web-access by default.

See also: Vendor plugin

This utility allows setup of these paths if the vendor-plugin is disabled through the use of --no-plugins in install.

See information on this plugin at the vendor-plugin github page

Installation

composer global require silverstripe/vendor-plugin-helper
echo 'export PATH=$PATH:~/.composer/vendor/bin/'  >> ~/.bash_profile

Commands

Both commands are similar: One will symlink vendor modules, the other will copy resources. The root directory used as the public webroot is resources by default.

  • vendor-plugin-helper copy /path/to/www
  • vendor-plugin-helper link /path/to/www

Optional args:

  • --target Top level folder to link resources to. Defaults to resources

统计信息

  • 总下载量: 9.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固