fintem/unit-test-case
A lightweight base test case for Laravel and PHP packages that simplifies unit testing setup. Extend it to get ready-made helpers, cleaner assertions, and consistent bootstrapping, so you can focus on writing meaningful tests instead of repeating boilerplate configuration.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/testbench | 0.88 | Laravel TestBench by Graham Campbell provides testing functionality for Laravel packages, built on PHPUnit, Mockery, Orchestral Testbench, and Laravel Testbench Core. Supports PHP 7.4-8.5, PHPUnit 9-11, and Laravel 8-13. | 0 | 51 | — | 4K | — | 9.3 | 50.1 | — | — | |
| orchestra/pest-plugin-testbench | 0.87 | Pest Plugin for Testbench lets you use PestPHP to test your Laravel packages, bringing Pest's expressive, readable syntax to Orchestra Testbench so building and maintaining package test suites takes less boilerplate. | 0 | 6 | — | 8K | — | 3.9 | 53.6 | — | — | |
| directorytree/dummy | 0.87 | A Laravel package from DirectoryTree for generating and managing dummy data, making it easy to scaffold placeholder records and test content during development. A lightweight helper for faster prototyping, seeding, and testing in your Laravel apps. | 43 | 43 | 0 | 2K | 0 | 14.8 | 25.7 | MIT | 5 months ago | |
| orchestra/testbench-core | 0.87 | Testbench Core is a testing framework for Laravel package development. It boots a Laravel application inside your package repository, letting tests run Artisan commands, migrations, factories, and routes, with releases matching Laravel 6 through 13. | 0 | 276 | — | 3M | — | 15.0 | 55.3 | — | — | |
| phpunit/phpunit-story | 0.86 | phpunit/phpunit-story brings behavior-driven development to PHPUnit, letting you write given/when/then story scenarios as test cases. A small, legacy extension useful for BDD-style specs, though now largely superseded by modern tooling. | 36 | 38 | 18 | 3K | 1 | 0.5 | 19.4 | NOASSERTION | — | |
| orchestra/testbench | 0.86 | Orchestra Testbench is the de-facto helper for writing tests for Laravel packages, providing a lightweight Laravel application skeleton so you can verify your package's service providers, routes, and config. | 0 | 2,258 | — | 2M | — | 11.1 | 55.3 | — | — | |
| illuminate/testing | 0.86 | Illuminate Testing is Laravel’s official testing package, offering the base TestCase plus expressive helpers, HTTP and database assertions, and fakes for events, queues, mail, and more so you can write reliable feature and unit tests quickly. | 34,987 | 33 | 12,028 | 439K | 55 | 78.2 | 50.4 | MIT | 3 days ago | |
| richcongress/unit-bundle | 0.86 | RichCongress UnitBundle is a Symfony/PHPUnit testing helper bundle that simplifies unit and integration test setup with base test cases and convenient container, entity manager, and mocking utilities. It streamlines common testing boilerplate for faster, cleaner Symfony tests. | 1 | — | 1 | — | 1 | 0.5 | — | MIT | 6 years ago | |
| alt-three/testbench | 0.86 | A lightweight testing harness for Laravel packages, providing a bootstrapped application instance with service providers, configuration, and helpers so you can write fast, reliable package tests without a full application skeleton. | 6 | 8 | 4 | 583 | 0 | 0.1 | 18.8 | MIT | 6 years ago | |
| stemble/laravel-doctrine-factory | 0.86 | Use Laravel's modern Eloquent factories with Doctrine entities. Drop-in replacement for the official frozen pre-8.x factory system, adding class-based factories, first-class states, relationship helpers, sequences, recycle, and afterMaking/afterCreating callbacks. | 2 | 2 | 2 | 7K | 0 | 22.1 | 52.5 | MIT | 3 months ago | |
| imanghafoori/laravel-self-test | 0.86 | A self-testing toolkit for Laravel apps: write fluent health checks that verify routes, views, configs, and service providers, catching misconfigurations and broken references before they reach production. Run them via artisan or in your test suite. | 1,488 | 1,489 | 95 | 0 | 3 | 11.0 | 0.4 | MIT | 1 year ago | |
| laragear/meta-testing | 0.86 | Laragear Meta Testing provides testing helpers and assertions for Laravel applications that use metadata. Verify metadata creation, updates, and retrieval with concise, readable tests, keeping metadata behavior reliable without repetitive boilerplate. | 3 | 3 | 1 | 561 | 0 | 17.6 | 34.2 | MIT | 1 month ago | |
| 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 | |
| hughsaffar/laravel-test-trap | 0.86 | Laravel Test Trap is a focused testing helper for Laravel that adds guardrails to your suite, helping catch unintended behavior before it reaches CI. It keeps tests safer and more predictable with minimal setup, making it a useful addition for teams tightening test reliability. | 18 | — | 1 | — | 0 | 0.5 | — | MIT | 3 years ago | |
| imanghafoori/laravel-makesure | 0.86 | — | 21 | 21 | 3 | 43 | 1 | 1.0 | 6.5 | MIT | 2 years ago | |
| nnjeim/respond | 0.86 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago | |
| ciaranmcnulty/versionbasedtestskipper | 0.85 | 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. | 4 | 4 | 0 | 70 | 0 | 0.0 | 16.2 | MIT | 6 years ago | |
| illuminated/testing-tools | 0.85 | A collection of practical testing utilities for Laravel applications, offering helpful assertions and shortcuts that make feature and unit tests cleaner, faster to write, and easier to maintain. Ideal for teams wanting more expressive test coverage with less boilerplate. | 54 | 54 | 7 | 587 | 0 | 19.2 | 17.2 | MIT | 4 weeks ago | |
| 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 | |
| stephenjude/api-test-helper | 0.85 | 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 |
How can I help you explore Laravel packages today?