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 Methods Trait Laravel Package

maks3w/phpunit-methods-trait

PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
phpspec/prophecy-phpunit 0.88 Integrates the Prophecy mocking library with PHPUnit for simpler, cleaner test doubles. Install via Composer and use the ProphecyTrait to call prophesize() inside your TestCase, set method predictions/returns, and reveal mocks for injection. 195 195 39 1M 1 11.7 56.7 MIT 8 months ago
View on GitHub
richcongress/test-tools 0.87 richcongress/test-tools is a small Laravel/PHP package offering testing helpers and utilities to simplify test setup and assertions, helping you write cleaner, more maintainable tests with less boilerplate. 0 0 0 261 1 0.1 33.4 MIT 4 years ago
View on GitHub
eliashaeussler/phpunit-attributes 0.87 PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows. 4 4 1 4K 1 11.5 43.3 GPL-3.0 7 months ago
View on GitHub
stephenjude/api-test-helper 0.86 stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... 47 — 1 — 0 0.3 — MIT 3 years ago
View on GitHub
yoanm/php-unit-extended 0.86 A PHPUnit extension for PHP that adds extra test helpers and assertions, reducing boilerplate and making unit tests clearer and easier to maintain alongside PHPUnit's built-in features. 0 0 0 68 0 0.1 25.4 MIT 3 years ago
View on GitHub
phpunit/phpunit-skeleton-generator 0.86 PHPUnit Skeleton Generator creates skeleton test classes from existing production code and skeleton class stubs from test cases, helping PHP developers bootstrap PHPUnit tests quickly with less boilerplate. 0 160 — 29 — 0.0 20.4 — —
View on GitHub
b2pweb/bdf-phpunit 0.86 Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. 0 0 0 407 0 0.0 36.1 MIT —
View on GitHub
Context7
sven/laravel-testing-utils 0.86 Practical testing helpers for Laravel applications, including cleaner assertions, setup shortcuts, and conveniences for HTTP, database, and mocking workflows. Designed to keep PHPUnit and Pest suites readable, consistent, and fast without extra boilerplate. 21 24 1 12 1 0.1 1.8 MIT 6 years ago
View on GitHub
pkly/phpunit-service-create-trait 0.86 A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it. 0 0 0 289 0 20.8 39.4 MIT 1 month ago
View on GitHub
sebastian/peek-and-poke 0.86 sebastian/peek-and-poke is a small PHP utility that uses reflection to peek at and poke into objects. It lets you read and write private and protected properties, making it handy for tests that need to inspect or set up object state without changing production code. 36 34 8 117 1 0.3 6.0 NOASSERTION —
View on GitHub
nnjeim/respond 0.86 — 5 5 1 6 0 0.7 4.2 MIT 5 years ago
View on GitHub
phpunitgoodpractices/traits 0.85 A small set of PHP traits to improve PHPUnit test code by reducing boilerplate and encouraging cleaner, reusable assertions and setup patterns. Useful for Laravel and general PHP projects that want more readable, maintainable tests. 21 22 1 15K 3 2.6 28.1 MIT 4 years ago
View on GitHub
lastdragon-ru/lara-asp-testing 0.85 Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. 0 0 0 75 0 0.0 26.0 MIT —
View on GitHub
php-extended/placeholder-phpunit 0.85 A placeholder package for PHPUnit in php-extended projects. It provides minimal stubs so libraries can reference PHPUnit types without a hard dependency, keeping production installs lean while remaining compatible when PHPUnit is present. 0 0 — 805 — 0.0 40.1 — —
View on GitHub
micro-module/unit-test-generator 0.85 Micro Module's Unit Test Generator scaffolds PHPUnit tests for Laravel/PHP code, turning existing classes into ready-to-edit test files to cut boilerplate and speed up initial coverage. It helps bootstrap suites and standardize structure, leaving assertions for you to refine. 1 1 0 16 0 0.0 13.2 — 3 years ago
View on GitHub
apie/phpunit-matrix-data-provider 0.85 PHPUnit data provider that generates a matrix of test cases across multiple PHP and Laravel versions in one go. Configure your supported version combinations and let it fan tests out automatically, keeping compatibility suites DRY and every run clearly labeled by environment. 0 0 0 1K 0 0.0 43.6 MIT —
View on GitHub
jasonmccreary/laravel-test-assertions 0.85 Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null. 349 351 38 140K 2 17.5 38.6 — 7 months ago
View on GitHub
gecko-packages/gecko-php-unit 0.85 Gecko PHP Unit extends PHPUnit with fluent helpers and assertions for testing Laravel applications. It streamlines common tasks like database, HTTP, and file checks, cutting boilerplate so your test suites stay cleaner, more readable, and easier to maintain. 136 136 4 9K 0 0.9 25.2 MIT 8 years ago
View on GitHub
selective/test-traits 0.85 Selective Test Traits provides reusable PHPUnit and Pest traits for Laravel, helping you cut test boilerplate, keep suites focused, and share common setup across tests. It makes cleaner, more maintainable tests easier to write without repeating helpers. 15 15 4 8K 0 7.4 39.4 MIT 7 months ago
View on GitHub
herrera-io/phpunit-test-case 0.85 PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. 1 1 0 32 0 0.0 12.0 MIT —
View on GitHub
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package