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

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

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

puli/composer-plugin

最新稳定版本:1.0.0-beta10

Composer 安装命令:

composer require puli/composer-plugin

包简介

Integrates Composer into the Puli package manager.

README 文档

README

Build Status Build status Scrutinizer Code Quality Latest Stable Version Total Downloads Dependency Status

Latest release: 1.0.0-beta10

PHP >= 5.3.9

This plugin integrates Composer with the Puli Manager. Whenever you install or update your Composer dependencies, a Puli resource repository and discovery are built from the puli.json files of all installed packages:

{
    "path-mappings": {
        "/acme/blog": "resources"
    }
}

You can load the built repository/discovery in your code:

$factoryClass = PULI_FACTORY_CLASS;
$factory = new $factoryClass();

// Fetch resources from the repository
$repo = $factory->createRepository();

echo $repo->get('/acme/blog/config/config.yml')->getBody();

// Find resources by binding type
$discovery = $factory->createFactory($repo);

foreach ($discovery->findBindings('doctrine/xml-mapping') as $binding) {
    foreach ($binding->getResources() as $resource) {
        // do something...
    }
}

Authors

Installation

Follow the Installation guide to install Puli in your project.

Documentation

Read the Puli Documentation to learn more about Puli.

Contribute

Contributions to are very welcome!

Support

If you are having problems, send a mail to bschussek@gmail.com or shout out to @webmozart on Twitter.

License

All contents of this package are licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 38
  • Watchers: 8
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-03