adachsoft/release-validator-composer-checks

Release-validator checks verifying that a package builds and installs correctly via Composer before publishing.

Maintainers

Package info

gitlab.com/a.adach/release-validator-composer-checks

Issues

pkg:composer/adachsoft/release-validator-composer-checks

Transparency log

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

v0.1.0 2026-08-21 09:33 UTC

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_validate runs composer validate --strict in the source repository.
  • package_installable exports the release tag to an isolated directory and runs composer 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