Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Versionbasedtestskipper Laravel Package

ciaranmcnulty/versionbasedtestskipper

A PHPUnit extension that skips tests based on the running PHP version, letting you annotate tests with version constraints so they are automatically skipped or run on specific PHP versions, keeping suites passing across environments without manual conditional logic.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • PHP version support policy: Informs which PHP versions the product officially supports and which test jobs must run, by making it explicit where tests are skipped due to runtime version.
  • PHP upgrade roadmap: Helps engineering stage upgrades across a compatibility matrix without immediately rewriting every version-sensitive test.
  • CI cost/coverage trade-offs: Supports decisions about whether to run the full suite on every PHP version or selectively skip tests that cannot pass on older/newer runtimes.
  • Build vs. buy vs. use-native: Provides a reference point for deciding whether to add a dependency for version-aware test skipping or use PHPUnit’s built-in @requires annotations/attributes and CI matrix configuration.
  • Risk assessment for maintenance dependencies: Low stars, zero dependents, and no release since 2020 are signals that this should not become a long-lived dependency in a product’s test infrastructure.

When to Consider This Package

  • Consider only as a short-term migration aid when a legacy test suite must run across multiple PHP versions and already has many ad hoc version checks.
  • Consider if the team is on an older PHPUnit version where native version-based skipping is insufficient or inconsistent.
  • Do not consider it for new projects, modern PHPUnit/Pest setups, or any codebase with a policy against unmaintained dependencies.
  • Look elsewhere when you need PHPUnit 10/11 compatibility, active maintenance, security review, or broad community validation.
  • Prefer native PHPUnit @requires annotations/attributes, Composer platform constraints, CI matrix exclusions, or a small internal helper over adding this package.

How to Pitch It (Stakeholders)

This package is a small test-infrastructure utility for skipping tests based on the PHP version. It could help during a PHP upgrade by keeping CI green while version-specific tests are isolated. However, it is effectively redundant with modern PHPUnit features, has very low adoption, and has not been released since 2020. The recommendation is not to adopt it as a dependency. Engineering should use native PHPUnit version requirements and CI matrix controls, which are maintained, familiar, and lower risk. If evaluated, treat it as a temporary reference implementation rather than a strategic build-vs-buy decision.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle