bragento/magento-composer-installer
Composer 安装命令:
composer require bragento/magento-composer-installer
包简介
Composer installer for Magento modules
README 文档
README

Supported Types:
magento-module
magento-core
magento-theme (currently just the same as magento-module)
Core Installer
Installation
to Install the Magento Core require magento/core in your composer.json.
Magento will be copied to the Magento root dir (Default: 'magento')
{
"require": {
"bragento/magento-composer-installer": "~1",
"magento/core": "~1.9"
},
"extra": {
"magento-root-dir": "magento"
}
}
Persistent Files
There are several persistent files and directories, that will be backed up and restored after core deployment:
var
media
app/etc/local.xml
You can also define additional Files to be persistent such as local Modules
{
"require": {
"bragento/magento-composer-installer": "~1",
"magento/core": "~1.9"
},
"extra": {
"magento-root-dir": "magento",
"persistent-files": [
"somefile",
"app/code/local/Vendor/SomeModule",
"app/etc/modules/Vendor_SomeModule.xml"
]
}
}
Module Installer
Install a Module
Just require the Modules in your composer.json.
Many composer installable Magento extensions are listed under packages.firegento.com
There is also an example of how to add a composer package directly from a github (or any git) Repository
{
"repositories": [
{
"type": "composer",
"url": "packages.firegento.com"
},
{
"type": "git",
"url": "https://github.com/danslo/ApiImport.git"
}
],
"require": {
"bragento/magento-composer-installer": "~1",
"magento/core": "~1.9",
"firegento/magesetup": "~2",
"danslo/api-import": "~1"
},
"extra": {
"magento-root-dir": "magento"
}
}
Change Deploy Strategy
By default, all Modules are deployed by symlink. You can change this behaviour with the config key 'magento-deploystrategy'
Possible values are:
symlink
copy
none (will just install the Module but not deploy it to magento root)
{
"extra": {
"magento-deploystrategy": "copy"
}
}
Overwrite Deploy Strategy per Module
You can also overwrite the Deploy Strategy for specific Modules under the config key magento-deploystrategy-overwrite
{
"repositories": [
{
"type": "composer",
"url": "packages.firegento.com"
}
],
"require": {
"bragento/magento-composer-installer": "~1",
"magento/core": "~1.9",
"firegento/magesetup": "~2"
},
"extra": {
"magento-deploystrategy": "symlink",
"magento-deploystrategy-overwrite": {
"firegento/magesetup": "copy"
}
}
}
Auto Append Gitignore
You can define that deployed files will be automatically added to .gitignore in magento root
{
"extra": {
"auto-append-gitignore": true
}
}
Contributing
make pull requests solely from the develop Branch.
run the tests before making a pull request
bragento/magento-composer-installer 适用场景与选型建议
bragento/magento-composer-installer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.47k 次下载、GitHub Stars 达 23, 最近一次更新时间为 2014 年 07 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「installer」 「composer」 「magento」 「bragento」 「brandung」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bragento/magento-composer-installer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bragento/magento-composer-installer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bragento/magento-composer-installer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Installs Aura packages to the Aura system "package" directory.
Install WordPress must-use plugins with Composer
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
Arikam CMS installers
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
统计信息
- 总下载量: 14.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 5
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2014-07-19