承接 magento-hackathon/composer-command-integrator 相关项目开发

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

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

magento-hackathon/composer-command-integrator

Composer 安装命令:

composer require magento-hackathon/composer-command-integrator

包简介

module to create binaries and scripts which get executed in context of composer so they are able to access content from the composer.json

README 文档

README

Build Status

Extending the functionality of Composer is not that easy. There are several points, which make it harder to add functionality by external libraries.

This library adds some example code, how to add scripts, which are able to use composers internal structure. This could be wanted for custom installers or module managers, which use composer as base and want to offer additional commands which need things like information about libraries installed with composer.

Also this library offers a simple API to add own Commands similar to the Composer ones. Only difference is, we have an own script as entry point, which needs to be used.

All Commands added to the extra.composer-command-registry in your libraries composer.json get added to this entry point.

    "extra":{
        "composer-command-registry": [
        "MagentoHackathon\\Composer\\Magento\\Command\\DeployCommand"
         ]
    }

As you see, this is an Array, so you can add more than one command per module.

To get a help message and see a list of available commands, simply call the binary:

    php ./vendor/bin/composerCommandIntegrator.php

To execute an command, simply specify it as an argument. For example:

    php ./vendor/bin/composerCommandIntegrator.php magento-module-deploy

Projects which implemented this

Tests

phpunit

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 19
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2018-07-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固