adachsoft / release-validator-composer-checks
Release-validator checks verifying that a package builds and installs correctly via Composer before publishing.
Package info
gitlab.com/a.adach/release-validator-composer-checks
pkg:composer/adachsoft/release-validator-composer-checks
v0.1.0
2026-08-21 09:33 UTC
Requires
- php: ^8.3
- adachsoft/collection: ^3.0
- adachsoft/command-executor-lib: ^2.0
- adachsoft/composer-lib: ^0.6
- adachsoft/release-validator: 0.5.0
Requires (Dev)
- adachsoft/php-code-style: ^0.5.0
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpstan: ^2.2
- phpunit/phpunit: ^13.2
- rector/rector: ^2.5
- symplify/phpstan-rules: ^14.9
This package is not auto-updated.
Last update: 2026-08-22 06:06:04 UTC
README
Composer checks for adachsoft/release-validator.
Installation
composer require adachsoft/release-validator-composer-checks
Usage
use AdachSoft\ReleaseValidator\Dto\ReleaseValidationConfigDto;
use AdachSoft\ReleaseValidatorComposerChecks\Factory\ValidatorFactory;
$facade = ValidatorFactory::create(
new ReleaseValidationConfigDto(
repositoryPath: __DIR__,
changelogPath: 'CHANGELOG.md',
),
);
The configured facade includes the following package validators:
composer_validaterunscomposer validate --strictin the source repository.package_installableexports the release tag to an isolated directory and runscomposer install --no-dev.
Both validators return release-validator violations for failed checks. Temporary checkout directories are removed after every installability check.
Development
composer test
composer stan
composer cs:check