zagovorichev / composer-smart-installer
Correct folders installation
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=7.1
- composer-plugin-api: ^1.1 || ^2.0
- composer/installers: ^1.0
Requires (Dev)
- composer/composer: ^2.0
- phpunit/phpunit: ^9.5.2
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-11-11 23:33:11 UTC
README
How to use
Environment variables
Notice: none of these variables are required, composer will work by default, without variables.
GIT_MODULES
list of modules to install into theMODULES_DIR_PATH
directory. Example:gir_repo1 git_repo2
VENDOR_DIR_PATH
default for composer isvendor
directory in the root of project, can be changed.MODULES_DIR_PATH
path for the repositories from theGIT_MODULES
list. Default value is root directory (near thevendor
directory)MODULES_NAME_MAP
Mapped names for the packages, to use different names for folders. Example:git_repo1:dir1 git_repo3:dirname
. Default is the name of the package.