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 | 100 | 8 | 5K | 0 | 18.5 | 27.0 | MIT | 3 months ago | |
| lendable/phpunit-extensions | 0.82 | — | 2 | 2 | 0 | 5K | 2 | 14.9 | 51.5 | MIT | 5 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 | 104 | 5 | 1M | 1 | 19.1 | 61.4 | MIT | 5 months ago | |
| codeception/codeception | 0.81 | Codeception is a full-stack PHP testing framework for unit, functional, and acceptance tests. It unifies PHPUnit-style assertions with browser and API testing, offers modular helpers, and integrates with popular PHP frameworks to speed up reliable test automation. | 4,857 | 4,911 | 1,282 | 1M | 151 | 80.0 | 62.5 | MIT | 5 months ago | |
| mockery/mockery | 0.80 | Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, and more. It provides a readable DSL to define expectations and interactions, integrates cleanly with PHPUnit, and can be used alongside PHPUnit’s own mocking tools. | 10,724 | 10,811 | 466 | 10M | 106 | 68.0 | 62.4 | BSD-3-Clause | 2 years 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.7 | 59.5 | MIT | 6 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 | 37 | 23K | 0 | 23.9 | 30.0 | MIT | 4 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 | 152 | 0 | 22.0 | 30.2 | MIT | 2 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 | 362K | 3 | 12.0 | 59.3 | MIT | 7 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 | 29 | 572K | 15 | 24.2 | 65.3 | MIT | 6 months 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 | 294 | 2 | 1.4 | 13.3 | — | 10 years ago |
How can I help you explore Laravel packages today?