2017 © Pedro Peláez
 

composer-plugin package-installer

A composer plugin, to help install packages based on their name-prefix.

image

cmskit/package-installer

A composer plugin, to help install packages based on their name-prefix.

  • Thursday, August 21, 2014
  • by cmskit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36 Installations
  • PHP
  • 27 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

cms-kit-installer

This is a composer plugin, to install composer packages in custom directories outside the default composer vendor folder., (*1)

It relies on a special prefix within the package-name:, (*2)

Prefixes are installed to following paths:, (*3)

    'admin' => './backend/admin/NAME/'
    'extension' => './backend/extensions/NAME/'
    'template' => './backend/templates/NAME/'
    'wizard' => './backend/wizards/NAME/'

In addition:, (*4)

  • the prefix will be removed and
  • hyphens will be replaced by underscores

Examples:, (*5)

  • your-vendor-name/admin-project-setup will be installed to backend/admin/project_setup
  • your-vendor-name/extension-usermanagement will be installed to backend/extensions/usermanagement

Example of a package composer.json

{
    "name": "cmskit/admin-project-setup",
    "type": "library",
    "version": "0.6.0",
    "description": "This wizard lets you create new projects or upload existing ones",
    "license": "GPL",
    "authors": [
    {
        "name": "Christoph Taubmann",
        "email": "info@cms-kit.com"
    }
    ],
    "homepage": "http://cms-kit.com",
    "require": {
    "php": ">=5.3.3",
    "cmskit/package-installer": "1.0.*@dev",
    "cmskit/jquery-ui": "dev-master"
    }
}

Example of the composer.json in root to install/update the package

{
    "minimum-stability": "dev",

    "require": {
    "php": ">=5.3.3",
    "cmskit/admin-project-setup": "dev-master"
    }
}

The Versions

21/08 2014

dev-master

9999999-dev

A composer plugin, to help install packages based on their name-prefix.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • composer-plugin-api *

 

by Christoph Taubmann

composer composer-installer composer-plugin

28/07 2014

1.0.2

1.0.2.0

A composer plugin, to help install packages of different types in custom paths.

  Sources   Download

MIT

The Requires

  • php >=5.3
  • composer-plugin-api *

 

by Mina Nabil Sami

composer composer-installer composer-plugin