Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mecha-cms/composer
Custom installer using Composer.
https://github.com/mecha-cms/composer
composer composer-plugin
Last synced: 8 days ago
JSON representation
Custom installer using Composer.
- Host: GitHub
- URL: https://github.com/mecha-cms/composer
- Owner: mecha-cms
- License: gpl-3.0
- Created: 2022-05-23T13:08:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T14:00:56.000Z (about 1 year ago)
- Last Synced: 2024-04-14T04:23:11.906Z (10 months ago)
- Topics: composer, composer-plugin
- Language: PHP
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Installer for [Mecha](https://github.com/mecha-cms/mecha)
=========================================================Custom installer using [Composer](https://getcomposer.org/doc/articles/custom-installers.md).
Usage
-----~~~ sh
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`](https://github.com/mecha-cms/mecha/blob/main/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.