2017 © Pedro Peláez
 

composer-plugin composer-plugin

Integrates Composer into the Puli package manager.

image

puli/composer-plugin

Integrates Composer into the Puli package manager.

  • Monday, August 15, 2016
  • by webmozart
  • Repository
  • 9 Watchers
  • 39 Stars
  • 54,444 Installations
  • PHP
  • 55 Dependents
  • 3 Suggesters
  • 21 Forks
  • 2 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

The Puli Plugin for Composer

Build Status Build status Scrutinizer Code Quality Latest Stable Version Total Downloads Dependency Status, (*1)

Latest release: 1.0.0-beta10, (*2)

PHP >= 5.3.9, (*3)

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:, (*4)

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

You can load the built repository/discovery in your code:, (*5)

$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., (*6)

Documentation

Read the Puli Documentation to learn more about Puli., (*7)

Contribute

Contributions to are very welcome!, (*8)

Support

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

License

All contents of this package are licensed under the MIT license., (*10)

The Versions

15/08 2016

dev-master

9999999-dev http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

29/05 2015

1.0.0-beta5

1.0.0.0-beta5 http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

13/04 2015

1.0.0-beta4

1.0.0.0-beta4 http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

19/03 2015

1.0.0-beta3

1.0.0.0-beta3 http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

27/01 2015

1.0.0-beta2

1.0.0.0-beta2 http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

12/01 2015

1.0.0-beta

1.0.0.0-beta http://puli.io

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

03/12 2014

1.0.0-alpha2

1.0.0.0-alpha2

Integrates Composer into the Puli package manager.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bernhard Schussek

05/02 2014

1.0.0-alpha1

1.0.0.0-alpha1

A resource management plugin for Composer based on the Puli library.

  Sources   Download

MIT

The Requires

  • composer-plugin-api 1.0.0
  • webmozart/puli ~1.0@alpha

 

The Development Requires

by Bernhard Schussek