adachsoft/release-validator-packagist-checks

Release-validator checks verifying a package's state in the Packagist registry (version presence, SemVer freshness) before publishing.

Maintainers

Package info

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

Issues

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

Transparency log

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

v0.1.0 2026-08-21 10:25 UTC

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-validator validation workflow.

Installation

composer require adachsoft/release-validator-packagist-checks

Validators

The package includes the following validators:

  • RegistryVersionExistsValidator
  • VersionIsNewerThanLatestValidator

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.