codeception/stub
Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| binafy/laravel-stub | 0.84 | — | 98 | 98 | 8 | 15K | 0 | 12.4 | 32.5 | MIT | 6 months ago | |
| codeception/lib-asserts | 0.81 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 105 | 105 | 5 | 2M | 1 | 12.3 | 58.0 | MIT | 9 months ago | |
| codeception/codeception | 0.81 | Codeception is a full-stack PHP testing framework that unifies unit, functional, and acceptance tests in one suite. Write expressive BDD-style tests, reuse modules, and test Laravel, Symfony, or any PHP app with clear reports, parallel execution, and smooth CI integration. | 4,852 | 4,918 | 1,273 | 1M | 152 | 87.0 | 66.9 | MIT | 1 month ago | |
| mockery/mockery | 0.80 | Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, or any other testing framework. It offers a succinct, human-readable DSL for defining test doubles and integrates easily as a drop-in alternative to PHPUnit's mocking library. | 10,724 | 10,808 | 470 | 19M | 89 | 84.3 | 77.1 | BSD-3-Clause | 2 months ago | |
| codeception/module-asserts | 0.80 | Codeception Asserts module adds rich assertion helpers for your tests, letting you use a wide set of PHPUnit-style assertions directly in Codeception suites. Ideal for unit, functional, and acceptance tests to keep checks readable and failures clear. | 86 | 87 | 10 | 1M | 0 | 13.4 | 59.3 | MIT | 10 months ago | |
| spatie/laravel-stubs | 0.79 | Opinionated Laravel stub templates from Spatie. Publish customized stubs for migrations, controllers, and models: no down() in migrations, controllers don’t extend a base, no guarded attributes, more return types, fewer docblocks. | 252 | 252 | 36 | 32K | 0 | 16.7 | 30.6 | MIT | 8 months ago | |
| rawilk/laravel-stubs | 0.79 | Opinionated Laravel stubs with strict types, fewer docblocks, unguarded models, controllers without a base class, migrations without down methods, and added return type hints. Publish via artisan and optionally keep stubs updated via composer hooks. | 1 | 1 | 0 | 45 | 0 | 14.9 | 20.8 | MIT | 5 months ago | |
| codeception/module-filesystem | 0.79 | Codeception Filesystem module provides helpers for working with files and directories in tests. Create, copy, move, delete, and assert files/folders, handle fixtures and temp paths, and verify filesystem state as part of Codeception scenarios. | 20 | 20 | 7 | 506K | 3 | 5.9 | 56.4 | MIT | 11 months ago | |
| codeception/module-rest | 0.78 | REST module for Codeception that simplifies testing REST/JSON APIs: send HTTP requests, set headers/auth, validate response codes, formats, and payloads, and assert JSON/XML content. Integrates with other Codeception modules for end-to-end API tests. | 60 | 60 | 30 | 615K | 15 | 33.5 | 71.0 | MIT | 1 month ago | |
| carlescliment/chained-stubs-bundle | 0.77 | — | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| docteurklein/test-double-bundle | 0.77 | Symfony bundle to simplify creating test doubles. Replace services automatically with stubs or fakes via DI container tags, improving test isolation and speed (e.g., Behat). Access original implementations with .real for infrastructure tests. | 40 | 40 | 11 | 151 | 2 | 1.4 | 10.0 | — | 10 years ago |
How can I help you explore Laravel packages today?