mecha-cms / composer
Custom installer using Composer.
Installs: 248
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- composer/composer: ^2.0
README
Custom installer using Composer.
Usage
composer create-project mecha-cms/mecha
cd mecha
composer require mecha-cms/x.panel
Important
This plugin will delete the files and folders listed in the extra.remove-on-install
property of the root
composer.json
file. The existence of a
.gitattributes
file on a GitHub project may cause some confusion, as removing a specific list of files and/or
folders from the extra.remove-on-install
property will not prevent those files and folders from being deleted by the
plugin.
This is because the export-ignore
commands in a .gitattributes
file are more dominant than the plugin’s file and
folder delete commands, so if there are export-ignore
commands in the GitHub project’s .gitattributes
file, then
those files and folders will be automatically excluded from the Composer package.
There is nothing you can do in this case except to ask the developer of that extension/layout not to mark certain files and folders as being subject to removal from the package.