no-response-mate/composer-integration-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

no-response-mate/composer-integration-plugin

最新稳定版本:0.3.0

Composer 安装命令:

composer require no-response-mate/composer-integration-plugin

包简介

Quick switching between integrations' dependencies

README 文档

README

Quick switching between integration dependencies

Installation

composer require --dev sylius-labs/composer-integration-plugin

Add this plugin to allowed plugins:

"config": {
    "allow-plugins": {
        "sylius-labs/composer-integration-plugin": true
    }
},

Configuration

Basic integration configuration:

"extra": {
    "integration": {
        "my-integration": {
            "require": {
                "league/uri": "^6",
                "psr/http-factory": "^1"
            }
        }
    }
}

With a custom APP_ENV variable if you're using .env files:

"extra": {
    "integration": {
        "my-integration": {
            ...
            "env": "my-integration-special-environment"
        }
    }
}

If your .env files are located somewhere else than project root, you can point to their location using the integration-options.env-path node:

"extra": {
    "integration-options": {
        "env-path": "public/app/env/"
    },
    "integration": {
        "my-integration": {
            ...
            "env": "my-integration-special-environment"
        }
    }
}

The env-directory node takes in a path relative to your current working directory (usually project root).

Usage

Once you have your integrations configured you can switch between them by running:

composer integration my-integration

To return to your base composer dependencies simply run:

composer install

By default, no scripts are run when installing an integration, if you would like to enable them use the with-scripts option:

composer integration my-integration --with-scripts

The plugin uses the install command internally and as such, only install related scripts would be run.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固