承接 isaactorresmichel/composer-local-source-repository 相关项目开发

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

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

isaactorresmichel/composer-local-source-repository

Composer 安装命令:

composer require isaactorresmichel/composer-local-source-repository

包简介

Composer plugin that adds support for having custom packages installed to their source directory.

README 文档

README

The goal of this plugin is to have non-published (local) repository packages, inside our main project. And have them installed/mapped on the same source dir, without having to rely on symbolic links, full package copies to secondary directories or the vendor directory.

Requirements

  • composer-plugin-api: ^1.1
  • composer/installers: ^1.0

Example composer.json File

This is an example for a custom drupal-module package. The only important part to set in your composer.json are:

  • Add the local repositories to your package.
  • Set your extra files paths for composer/installers wich tells composer where to map the local packages. For more info look Composer installers.
  • Set the dependency isaactorresmichel/composer-local-source-repository": "^1.0@alpha" on your main composer.json and source packages (the packages to install).
{
  "repositories": {
    "modules-custom-event-log-repository": {
      "type": "path",
      "url": "web/modules/custom/event-logger"
    }
  },
  "require": {
    "drupal/event-logger": "@dev"
  },
  "extra": {
    "installer-paths": {
      "web/modules/custom/{$name}": [
        "drupal/event-logger"
      ]
    }
  }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固