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
Rector Phpunit

Rector Phpunit Laravel Package

rector/rector-phpunit

Rector rules for PHPUnit that automate test suite upgrades. Modernize assertions, replace deprecated APIs, and keep tests compatible across PHPUnit versions through automated, configurable refactoring—no manual edits required.

View on GitHub
Deep Wiki
Context7

Rector PHPUnit provides a curated set of Rector rules that automate PHPUnit upgrades and test-code modernization. Add it to your Rector config and it rewrites deprecated assertions, renamed methods, and legacy annotations across your suite—letting you move between PHPUnit majors without manual edits.

composer require --dev rector/rector-phpunit
  • Versioned sets such as PHPUNIT_100 and PHPUNIT_110 for step-by-step upgrades
  • Converts docblock annotations to native attributes (@dataProvider → #[DataProvider])
  • Replaces removed or deprecated assertions and API calls with current equivalents
  • Runs alongside your existing Rector rules in a single pass
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo