adachsoft / release-validator-packagist-checks
Release-validator checks verifying a package's state in the Packagist registry (version presence, SemVer freshness) before publishing.
Package info
gitlab.com/a.adach/release-validator-packagist-checks
pkg:composer/adachsoft/release-validator-packagist-checks
Requires
- php: ^8.3
- adachsoft/collection: ^3.0
- adachsoft/packagist-api-client: ^1.0
- adachsoft/release-validator: ^0.5
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.12
This package is not auto-updated.
Last update: 2026-08-22 06:43:08 UTC
README
Release Validator Packagist Checks provides release validators for Composer packages published on Packagist.
Features
- Verify that a release version exists in the Packagist registry.
- Verify that a release version is newer than the latest version registered on Packagist.
- Integrate Packagist checks with the
adachsoft/release-validatorvalidation workflow.
Installation
composer require adachsoft/release-validator-packagist-checks
Validators
The package includes the following validators:
RegistryVersionExistsValidatorVersionIsNewerThanLatestValidator
Both validators use adachsoft/packagist-api-client and implement the standard ReleaseValidatorInterface contract from adachsoft/release-validator.
Requirements
- PHP 8.3 or newer
- A Composer package name
- Network access to the Packagist API when validations are executed
License
This package is released under the MIT License. See the LICENSE file for details.