konafets/installers
Composer 安装命令:
composer require konafets/installers
包简介
A multi-framework Composer library installer
关键字:
README 文档
README
This is for PHP package authors to require in their composer.json. It will
magically install their package to the correct location based on the specified
package type.
Current Supported Package Types:
- CakePHP 2+
cakephp- - CodeIgniter
codeigniter- - Drupal
drupal- - FuelPHP
fuelphp- - Joomla
joomla- - Kohana
kohana- - Laravel
laravel- - Lithium
lithium- - Magento
magento- - Mako
mako- - MediaWiki
mediawiki- - PHPCSStandard `phpcsstandard-
- phpBB
phpbb- - PPI
ppi- - SilverStripe
silverstripe- - Symfony1
symfony1- - WordPress
wordpress- - Zend
zend-
Natively Supported Frameworks:
The following frameworks natively work with Composer and will be
installed to the default vendor directory. composer/installers
is not needed to install packages with these frameworks:
- Aura
- Symfony2
Example composer.json File
This is an example for a CakePHP plugin. The only important parts to set in your
composer.json file are "type": "cakephp-plugin" which describes what your
package is and "require": { "composer/installers": "*" } which tells composer
to load the custom installers.
{
"name": "you/ftp",
"type": "cakephp-plugin",
"require": {
"composer/installers": "*"
}
}
This would install your package to the app/Plugin/Ftp/ folder of a CakePHP app
when a user runs php composer.phar install.
So submit your packages to packagist.org!
Current Supported Types
- CakePHP
- cakephp-plugin
- CodeIgniter
- codeigniter-library
- codeigniter-third-party
- codeigniter-module
- Drupal
- drupal-module
- drupal-theme
- drupal-profile
- drupal-drush
- FuelPHP
- fuelphp-module
- Joomla
- joomla-component
- joomla-module
- joomla-template
- joomla-plugin
- joomla-library
- Kohana
- kohana-module
- Laravel
- laravel-library
- Lithium
- lithium-library
- lithium-source
- Magento
- magento-library
- magento-skin
- magento-theme
- Mako
- mako-package
- MediaWiki
- mediawiki-extension
- phpBB
- phpbb-extension
- phpbb-style
- phpbb-language
- PPI
- ppi-module
- SilverStripe
- silverstripe-module
- silverstripe-theme
- symfony1
- symfony1-plugin
- WordPress
- wordpress-plugin
- wordpress-theme
- Zend
- zend-library
- zend-extra
Types in bold have been marked stable and you can rely on those install paths to not change. A new type must be created if any adjustments are requested for an install path.
Custom Install Paths
If you are consuming a package that uses the composer/installers you can
override the install path with the following extra in your composer.json:
{
"extra": {
"installer-paths": {
"your/custom/path/{$name}/": ["shama/ftp", "vendor/package"]
}
}
}
This would use your custom path for each of the listed packages. The available
variables to use in your paths are: ${name}, {$vendor}, {$type}.
Contribute!
- Fork and clone.
- Run the command
php composer.phar install --devto install the dev dependencies. See Composer. - Use the command
phpunitto run the tests. See PHPUnit. - Create a branch, commit, push and send us a pull request.
To ensure a consistent code base, you should make sure the code follows the Coding Standards which we borrowed from Symfony.
If you would like to help, please take a look at the list of issues.
konafets/installers 适用场景与选型建议
konafets/installers 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.84k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2012 年 11 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「installer」 「zend」 「wordpress」 「cakephp」 「codeigniter」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 konafets/installers 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 konafets/installers 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 konafets/installers 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The bundle for easy using json-rpc api on your project
Installs Aura packages to the Aura system "package" directory.
Polyfill for mb_ereg(), mb_eregi(), mb_ereg_match(), and mb_ereg_replace*() functions; primary use case is for mbstring on Windows 7.4+
Install WordPress must-use plugins with Composer
Zend Framework 1 Http package
Zend Framework 1 Soap package
统计信息
- 总下载量: 1.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-12