Search by

adachsoft / release-validator-composer-checks

Arkadiusz Adach

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

Issues

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

Statistics

Installs: 19

Dependents: 1

Suggesters: 0

Stars: 0

v0.3.0 2026-09-10 05:10 UTC

This package is auto-updated.

Last update: 2026-09-10 03:11:07 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