akimsko/courier
Composer 安装命令:
composer require akimsko/courier
包简介
Install composer packages to custom folders
README 文档
README
This composer installer will install any package-type, to any path you wish.
It can be any of composers built-in package-types, or you can invent your own package-types, as you see fit.
In order for this plugin to work, it must be required in the package that specifies the custom install paths.
Like so...
{ ... "require": { "akimsko/courier": "~1.0" } }
From here, you can override install paths for all package-types required by this package, by defining them in the extra section.
The extra-option is courier-paths, and must contain one or more entries of <package-type>: <directory>.
To insert the package name in the path use {name} (The package name after the '/').
To insert the vendor name in the path use {vendor} (The package name before the '/').
Like so...
{ ... "extra": { "courier-paths": { "my-custom-module-type": "modules/{vendor}-{name}", "my-custom-theme-type": "theme/{name}" "library": "lib/{vendor}/{name}" } } }
This will install all packages of type my-custom-module-type to <projectroot>/modules/<vendor-name>-<package-name>.
All packages of type my-custom-theme-type to <projectroot>/themes/<package-name>.
And finally all packages of type library to <projectroot>/lib/<vendor-name>/<package-name>.
If a package-type does not match anything in courier-paths extra section, it will be installed to the default vendor path as normal.
akimsko/courier 适用场景与选型建议
akimsko/courier 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 223 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 05 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 akimsko/courier 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 akimsko/courier 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 223
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-21