Download the PHP package dynamics-unlimited/composer-custom-directory-installer without Composer
On this page you can find all versions of the php package dynamics-unlimited/composer-custom-directory-installer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dynamics-unlimited/composer-custom-directory-installer
More information about dynamics-unlimited/composer-custom-directory-installer
Files in dynamics-unlimited/composer-custom-directory-installer
Package composer-custom-directory-installer
Short Description (forked from mnsami/composer-custom-directory-installer) A composer plugin, to help install packages of different types in custom paths.
License MIT
Informations about the package composer-custom-directory-installer
composer-custom-directory-installer
A composer plugin, to install differenty types of composer packages in custom directories outside the default composer default installation path which is in the vendor folder.
This is not another composer-installer library for supporting non-composer package types i.e. application .. etc. This is only to add the flexibility of installing composer packages outside the vendor folder. This package only supports composer package types,
https://getcomposer.org/doc/04-schema.md#type
The type of the package. It defaults to library.
Package types are used for custom installation logic. If you have a package that needs some special logic, you can define a custom type. This could be a symfony-bundle, a wordpress-plugin or a typo3-module. These types will all be specific to certain projects, and they will need to provide an installer capable of installing packages of that type.
How to use
-
Include the composer plugin into your
composer.jsonrequiresection:: -
In the
extrasection define the custom directory you want to the package to be installed in::by adding the
installer-pathspart, you are telling composer to install themonologpackage inside themonologfolder in your root directory. - As an added new feature, we have added more flexibility in defining your download directory same like the
composer/installers, in other words you can use variables like{$vendor}and{$name}in yourinstaller-pathsection::
the above will manage to install the doctrine/orm package in the root folder of your project, under customlibs.
Note
Composer type: project is not supported in this installer, as packages with type project only make sense to be used with application shells like symfony/framework-standard-edition, to be required by another package.
All versions of composer-custom-directory-installer with dependencies
composer-plugin-api Version ^1.0 || ^2.0