marqu3s/yii2-composer-installer-plugin

A composer installer plugin to allow the use of a package as a common folder in the advanced Yii2 template.

v1.0.3 2023-07-11 21:06 UTC

This package is auto-updated.

Last update: 2024-10-19 11:50:01 UTC


README

Composer custom installer for Yii2.

This installer allows you to install any package in the common folder of the Yii2 advanced application template.

If you have various applications sharing the same common folder, then turn your common folder into a [private] package and install it using composer.

Require this package in your common package's composer.json file and your package will be installed in the common folder instead of the default vendor folder.

{
  "name": "vendor/my-common-folder",
  "type": "yii2-common",
  "require": {
    "marqu3s/yii2-composer-installer-plugin": "*"
  }
}

IMPORTANT: You must keep the "type": "yii2-common" line for this to work! This is how you tell composer wich installer to use to install your package.