xpertselect / tools
XpertSelect package providing the tools and configurations for PHP development.
Requires
- php: ^8.2
- composer-runtime-api: ^2.2
- mockery/mockery: ^1.5
- phpunit/phpunit: ^10.1
- zoltanka/bypass-readonly: ^0.0.4
This package is auto-updated.
Last update: 2025-04-26 15:39:05 UTC
README
XpertSelect package providing the tools and configurations for PHP development.
License
View the LICENSE.md
file for licensing details.
Installation
Installation of xpertselect/tools
is done via Composer.
composer require --dev composer-runtime-api ^2.2 xpertselect/tools
This is purely a development dependency, do not include this package as a runtime dependency!
Usage
Append the below instructions to composer.json
to automatically create the latest configuration files when running
composer update
:
{
"scripts": {
"post-update-cmd": [
"vendor/bin/xs-config --type={project-type} --force=false",
"vendor/bin/xs-dependencies"
]
}
}
The following {project-type}
s are supported:
standard
laravel-project
laravel-package
drupal-project
drupal-package
Set --force=true
to always replace any existing configuration files. This will undo any local changes to these files!
Updating the package
When updating tools, it’s crucial to allow the package to override any existing generated files. This can be achieved either by removing the generated files or by using the force flag, as outlined above. Afterward, you can apply any necessary local changes to the configuration.