2017 © Pedro Peláez
 

composer-plugin magento-composer-installers

A magento Composer library installer

image

vocento/magento-composer-installers

A magento Composer library installer

  • Wednesday, September 27, 2017
  • by aferrandini
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,789 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 19 Versions
  • 19 % Grown

The README.md

A Vocento Magento Composer Library Installer

This is for PHP package authors to require in their composer.json. It will install their package to the correct location based on the specified package type., (*1)

The goal of installers is to be a simple package type to install path map. Users can also customize the install path per package and package authors can modify the package name upon installing., (*2)

installers isn't intended on replacing all custom installers. If your package requires special installation handling then by all means, create a custom installer to handle it., (*3)

Current Supported Package Types:, (*4)

Framework Types
Magento vocento-magento-core
Magento vocento-magento-community
Magento vocento-magento-statics

Example composer.json File

This is an example for a Magento Core plugin. The only important parts to set in your composer.json file are "type": "vocento-magento-core" which describes what your package is and "require": { "vocento/magento-composer-installers": "~1.0" } which tells composer to load the custom installers., (*5)

{
    "name": "vocento/magento-core",
    "type": "vocento-magento-core",
    "require": {
        "vocento/magento-composer-installers": "~1.0"
    }
}

This would install your package to the root path when a user runs php composer.phar install., (*6)

Extra Configurations

This package has the possibility of setup some extra configurations related to ignoring files on the install proccesses of the packages. There is a general configuration to exclude files from all packages that will be installed, and there are three configurations to exclude files for each package that can be installed., (*7)

The names for the general exclude files configuration and for the three supported packages types configurations are:, (*8)

  • exclude-magento-files
  • exclude-magento-core-files
  • exclude-magento-community-files
  • exclude-magento-statics-files

You can add custom exclude-file configurations to your own custom installers., (*9)

You can use these extra configurations adding a config node with these names and the files to be excluded on the composer.json file. Example:, (*10)

{
    "name": "vocento/magento-core",
    "type": "vocento-magento-core",
    "require": {
        "vocento/magento-composer-installers": "~1.0"
    },
    "config": {
        "exclude-magento-files": [
          "excluded all packages file1",
          "excluded all packages file2"
        ],
        "exclude-magento-core-files": [
          "excluded magento core file1",
          "excluded magento core file2"
        ]
    }
}

The Versions

27/09 2017

dev-master

9999999-dev

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

27/09 2017

v2.2.0

2.2.0.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

27/09 2017

v2.3.0

2.3.0.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

31/08 2017

v2.1.6

2.1.6.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

31/08 2017

dev-feature/excludingmorefiles

dev-feature/excludingmorefiles

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

14/02 2017

v2.1.5

2.1.5.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

13/02 2017

v2.1.4

2.1.4.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

11/01 2017

v2.1.3

2.1.3.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

04/01 2017

v2.1.2

2.1.2.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

21/11 2016

v2.1.1

2.1.1.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

14/11 2016

v2.1.0

2.1.0.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

08/11 2016

v2.0.6

2.0.6.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

24/10 2016

v2.0.5

2.0.5.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

18/10 2016

v2.0.4

2.0.4.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

18/10 2016

v2.0.3

2.0.3.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

17/10 2016

v2.0.2

2.0.2.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

14/10 2016

v2.0.1

2.0.1.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

13/10 2016

v2.0.0

2.0.0.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core

04/10 2016

v1.0.0

1.0.0.0

A magento Composer library installer

  Sources   Download

proprietary

The Requires

 

The Development Requires

installer magento magento core