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

Phpunit Extras Laravel Package

rybakit/phpunit-extras

Extend PHPUnit with custom annotations, placeholders, requirements, and expectations. Build and integrate your own @tags, version/package/expression-based requirements, and reusable expectation helpers. Optional support for composer/semver, package-versions, and symfony/expression-language.

View on GitHub
Deep Wiki
Context7
v0.3.0
  • Migrate from annotations to native PHP attributes for test requirements and custom processors.
  • Update PHPUnit integration and configuration for PHPUnit 10.
  • Require PHP 8.2+, Composer 2, and PHPUnit 10.5+.
  • Refresh CI for PHP 8.2-8.5 and update the README with attribute examples.
v0.2.4

Allowed ocramius/package-versions plugin in composer.json, see https://getcomposer.org/allow-plugins.

v0.2.3
  • Fixed checking for non-existent keys in superglobals in the condition requirements. For example, in previous releases

    [@requires](https://github.com/requires) condition env.AWS_ACCESS_KEY_ID
    

    would fail with the error Undefined array key "AWS_ACCESS_KEY_ID" if such an environment variable did not exist (see https://github.com/symfony/symfony/issues/21691 for details).

  • Added "setting" to the list of PHPUnit requirements. For example,

    [@requires](https://github.com/requires) setting display_errors On
    

    will now be detected as a PHPUnit requirement and passed through to the PHPUnit annotation processor. This requirement has been supported since PHPUnit v7.0, although there is no mention of it in the documentation.

  • Added PHP 8.1 to the test matrix.

v0.2.2

Fixed InvalidAnnotationException factory methods to return instead of throwing

v0.2.1
  • Added PHP 8 support
  • Enhanced Github workflow
v0.2.0

Moved the [@after](https://github.com/after) annotation from Expectations::verifyExpectations() to TestCase::verifyTestCaseExpectations()

v0.1.0

:champagne: :birthday: :tada:

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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels