2017 © Pedro Peláez
 

composer-plugin zend-component-installer

Composer plugin for automating component registration in zend-mvc and Expressive applications

image

zendframework/zend-component-installer

Composer plugin for automating component registration in zend-mvc and Expressive applications

  • Wednesday, May 23, 2018
  • by zendframework
  • Repository
  • 28 Watchers
  • 30 Stars
  • 553,756 Installations
  • PHP
  • 82 Dependents
  • 0 Suggesters
  • 15 Forks
  • 3 Open issues
  • 18 Versions
  • 15 % Grown

The README.md

Component Installer for Zend Framework 3 and Expressive Applications

Build Status Coverage Status, (*1)

Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-component-installer., (*2)

This repository contains the Composer plugin class Zend\ComponentInstaller\ComponentInstaller, which provides Composer event hooks for the events:, (*3)

  • post-package-install
  • post-package-uninstall

Via Composer global install

To install the utility for use with all projects you use:, (*4)

$ composer global require zendframework/zend-component-installer

Per project installation

To install the utility for use with a specific project already managed by composer:, (*5)

$ composer require zendframework/zend-component-installer

Writing packages that utilize the installer

Packages can opt-in to the workflow from zend-component-installer by defining one or more of the following keys under the extra.zf configuration in their composer.json file:, (*6)

"extra": {
  "zf": {
    "component": "Component\\Namespace",
    "config-provider": "Classname\\For\\ConfigProvider",
    "module": "Module\\Namespace"
  }
}
  • A component is for use specifically with zend-mvc + zend-modulemanager; a Module class must be present in the namespace associated with it. The setting indicates a low-level component that should be injected to the top of the modules list of one of:, (*7)

    • config/application.config.php
    • config/modules.config.php
    • config/development.config.php
  • A module is for use specifically with zend-mvc + zend-modulemanager; a Module class must be present in the namespace associated with it. The setting indicates a userland or third-party module that should be injected to the bottom of the modules list of one of:, (*8)

    • config/application.config.php
    • config/modules.config.php
    • config/development.config.php
  • A config-provider is for use with applications that utilize expressive-config-manager or zend-config-aggregator (which may or may not be Expressive applications). The class listed must be an invokable that returns an array of configuration, and will be injected at the top of:, (*9)

    • config/config.php

Whitelisting packages to install automatically

At the project level, you can mark packages that expose configuration providers and modules that you want to automatically inject via the component-whitelist key:, (*10)

"extra": {
  "zf": {
    "component-whitelist": [
      "zendframework/zend-expressive",
      "zendframework/zend-expressive-helpers"
    ]
  }
}

This configuration must be made at the root package level (the package consuming configuration providing packages)., (*11)

The Versions

23/05 2018

dev-develop

dev-develop

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • composer-plugin-api ^1.0
  • php ^7.1

 

The Development Requires

plugin composer zendframework zf component installer

23/05 2018

dev-master

9999999-dev

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • composer-plugin-api ^1.0
  • php ^7.1

 

The Development Requires

plugin composer zendframework zf component installer

21/03 2018

2.1.1

2.1.1.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^7.1
  • composer-plugin-api ^1.0

 

The Development Requires

plugin composer zendframework zf component installer

08/02 2018

2.1.0

2.1.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^7.1
  • composer-plugin-api ^1.0

 

The Development Requires

plugin composer zendframework zf component installer

06/02 2018

2.0.0

2.0.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^7.1
  • composer-plugin-api ^1.0

 

The Development Requires

plugin composer zendframework zf component installer

11/01 2018

1.1.1

1.1.1.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

plugin composer zendframework zf component installer

06/11 2017

1.1.0

1.1.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

plugin composer zendframework zf component installer

25/04 2017

1.0.0

1.0.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

11/04 2017

0.7.1

0.7.1.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

22/02 2017

0.7.0

0.7.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

09/01 2017

0.6.0

0.6.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

20/12 2016

0.5.1

0.5.1.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

17/10 2016

0.5.0

0.5.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

11/10 2016

0.4.0

0.4.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

12/09 2016

0.3.1

0.3.1.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

27/06 2016

0.3.0

0.3.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

02/06 2016

0.2.0

0.2.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.5 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires

15/03 2016

0.1.0

0.1.0.0

Composer plugin for automating component registration in zend-mvc and Expressive applications

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.5 || ^7.0
  • composer-plugin-api ^1.0

 

The Development Requires