承接 rdx/composer-localoader-plugin 相关项目开发

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

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

rdx/composer-localoader-plugin

Composer 安装命令:

composer require rdx/composer-localoader-plugin

包简介

Composer plugin to load some dependencies locally

README 文档

README

Localoader adds a binary locaload with which you can choose to load dependencies locally instead of using the Packagist version. This is especially useful when developing your own packages, or others, in an existing project or context.

N.B. You still have to composer require the dependency!

Install

composer global require rdx/composer-localoader-plugin

Use it

Alias an entire package:

locaload alias author/some-package /var/www/dev/packages/author-some-package

Argument 1 is the Composer package name: author/some-package.

Argument 2 is the location of your checkout of that package: /var/www/dev/packages/author-some-package.

This will create and maintain a symlink from Composer's vendor dir to your dev checkout.

Check it

To see which packages are 'localoaded':

locaload list

Output will be something like:

Currently loading:
Array
(
    [alias] => Array
        (
			[author/some-package] => /var/www/dev/packages/author-some-package
		)
)

Deprecation warning

This package used to load namespaces locally, without symlink, but that didn't include all of Composer's "autoload" properties. Your composer.locaload might have psr-0 or psr-4 config. Remove that, and replace it with alias.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固