mahmouddev/installers

A yallagroup system installer

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:composer-plugin

dev-master / 1.0.x-dev 2016-10-11 05:20 UTC

This package is not auto-updated.

Last update: 2024-12-25 20:39:22 UTC


README

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. Current Supported Package Types:

Stable types are marked as bold, this means that installation paths for those type will not be changed. Any adjustment for those types would require creation of brand new type that will cover required changes.

Example composer.json File

This is an example for a Yallagroup module. The only important parts to set in your composer.json file are "type": "yallagroup-module" which describes what your package is and "require": { "mahmouddev/installers": "dev-master" } which tells composer to load the custom installers.

{
    "name": "you/ftp",
    "type": "yallagroup-module",
    "require": {
        "mahmouddev/installers": "dev-master"
    }
}

This would install your package to the Modules/Ftp/ folder of a base app route when a user runs php composer.phar install.