承接 staempfli/composer-installer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

staempfli/composer-installer

最新稳定版本:0.1.4

Composer 安装命令:

composer require staempfli/composer-installer

包简介

A simple composer installer

README 文档

README

Magento Composer Installer based on AOEpeople/composer-installers

Description

This Composer installer is an adapted version of the AOEpeople/composer-installers so it fit our needs for deploying our Magento Projects.

Adaptions

It already provides the location paths as we need them, so no extra configuration is needed in project composer files.

protected $locations = array(
    'module'    => 'magento/.modman/{$name}/',
    'source'    => 'magento/'
);

It handles Magento version upgrades by backup the current magento installation before removing the directory, so no data is lost and can be restored if needed.

    if($package->getType() === 'magento-source') {
        $installPath    = $this->getInstallPath($package);
        $backupDate     = date('YmdHi');
        $backupPath     = $installPath . '_' . $backupDate;

        $this->filesystem->copyThenRemove($installPath, $backupPath);
        $this->io->write(sprintf('Backup %s - %s', $backupPath, is_dir($backupPath) ? '<comment>created</comment>' : '<error>not created</error>'));
    } else {
        $repo->removePackage($package);
        $installPath = $this->getInstallPath($package);
        $this->io->write(sprintf('Deleting %s - %s', $installPath, $this->filesystem->removeDirectory($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
    }

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Staempfli Webteam and all other contributors

License

GNU General Public License, version 3 (GPLv3)

Copyright

(c) 2015, Stämpfli AG

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固