magicsunday / webtrees-module-installer-plugin
A composer plugin installer to install webtrees modules directly to the modules_v4 directory.
Installs: 6 883
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:composer-plugin
Requires
- php: >=8.2.0 <8.4.0
- composer-plugin-api: ^2.3
Requires (Dev)
- composer/composer: ^2.5
- friendsofphp/php-cs-fixer: ^3.50
- overtrue/phplint: ^3.4 || ^9.0
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-strict-rules: ^1.5
- rector/rector: ^1.0
README
webtrees-module-installer-plugin
A composer plugin installer to install webtrees modules directly to the modules_v4
directory.
Requirements
System Requirements
PHP 8.2+
Usage
To install a new webtrees module with composer, just add this module to the require
section
of your composer.json
file.
"require": {
"magicsunday/webtrees-module-installer-plugin": "*"
},
The module itself must also be of the type webtrees-module
.
"type": "webtrees-module",
Afterwards you can install your webtrees module with the following command from the root directory of your webtrees installation if there exists a package at packagist.org.
composer require your-vendor-name/your-package-name
To install a specific branch use:
composer require your-vendor-name/your-package-name:branch-name
For instance dev-master
.
If your package is not listed on packagist you may try to load it via:
composer config repositories.your-repo-name vcs https://github.com/your-vendor-name/your-package-name composer require your-vendor-name/your-package-name[:optional branch name]
Testing
composer update composer ci:test composer ci:test:php:phpstan composer ci:test:php:lint composer ci:test:php:unit composer ci:test:php:rector