codeception/assert-throws
Adds assertThrows-style assertions to Codeception, letting you easily verify exceptions in tests. Assert the exception type and optionally message/code when running a callable, making negative-path testing clearer and less verbose.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lastdragon-ru/phpunit-extensions | 0.84 | PHPUnit extensions for PHP projects, adding extra test utilities and helpers to streamline assertions, fixtures, and test setup. Designed to integrate cleanly with PHPUnit and improve developer productivity in automated testing workflows. | 0 | 0 | 0 | 33 | 0 | 0.0 | 21.2 | MIT | — | |
| testo/assert | 0.84 | Assertion plugin for the Testo PHP testing framework. Adds a fluent assert/expect facade, expectation lifecycle, and helpers for matching thrown exceptions. Reports comparisons through Testo’s standard pipeline. Install via Composer: testo/assert. | 0 | 0 | 0 | 6K | 0 | 0.0 | 51.8 | — | — | |
| lastdragon-ru/lara-asp-testing | 0.84 | 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 | 0 | 0 | 0.0 | — | MIT | — | |
| codenco-dev/eloquent-model-tester | 0.84 | Laravel dev-only helper to test Eloquent models: verify table structure/columns, fillable vs guarded attributes, and model relationships. Works with PHPUnit and model factories, integrates easily in your model test classes. | 20 | 20 | 1 | 241 | 2 | 21.6 | 16.9 | MIT | 2 months ago | |
| jasonmccreary/laravel-test-assertions | 0.84 | 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. | 351 | 351 | 36 | 131K | 2 | 23.6 | 39.7 | — | 4 months ago | |
| atournayre/assert | 0.84 | — | 0 | 0 | 0 | 23 | 1 | 1.3 | 19.0 | MIT | 3 years ago | |
| testo/testo | 0.84 | Testo is an extensible PHP testing framework with a lightweight core and middleware system. It lets you fully control your test environment while keeping familiar PHP syntax. Includes an init command, suite/plugin config via testo.php, and Composer scripts. | 203 | 203 | 12 | 10K | 18 | 41.0 | 37.7 | BSD-3-Clause | 1 month ago | |
| sampoyigi/testbench | 0.83 | Laravel testbench helpers for package development: quickly boot a minimal app, configure service providers, run migrations, and write reliable integration tests. Lightweight scaffolding to speed up local CI-style testing for your Laravel packages. | 0 | 0 | 0 | 754 | 0 | 8.1 | 42.3 | — | 8 months ago | |
| herrera-io/phpunit-test-case | 0.83 | 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 | 29 | 0 | 0.0 | 11.6 | MIT | — | |
| yiisoft/yii2-codeception | 0.83 | Yii2 integration for Codeception that streamlines functional and acceptance testing of Yii 2 apps. Provides Yii-aware modules, fixtures, and helpers to bootstrap the application, interact with components, and run tests consistently across environments. | 53 | 58 | 16 | 7K | 0 | 0.5 | 20.8 | BSD-3-Clause | 9 years ago | |
| draw/tester | 0.83 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 818 | 0 | 0.0 | 40.2 | MIT | — | |
| nette/tester | 0.83 | Nette Tester is a lightweight PHP testing framework for unit tests and test suites. It offers simple assertions, data-driven tests, informative output, and easy CLI integration. Ideal for fast, reliable testing in PHP projects and CI pipelines. | 486 | 496 | 72 | 74K | 13 | 33.9 | 42.0 | NOASSERTION | 2 months ago | |
| symfonycasts/internal-test-helpers | 0.83 | Internal test utilities from SymfonyCasts to streamline PHPUnit and Symfony/Laravel package testing. Provides shared helpers, fixtures, and assertions used across SymfonyCasts projects to reduce boilerplate and keep tests consistent and readable. | 0 | — | 2 | — | 0 | 0.1 | — | — | — | |
| draw/data-tester | 0.83 | Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 8 years ago | |
| b2pweb/bdf-phpunit | 0.83 | 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 | — | |
| bytestechnolabs/custom-exception-handler | 0.82 | Laravel package for configurable exception handling: map exception classes to custom messages, HTTP status codes, and extra response data via config. Includes helper to add custom data dynamically during catch blocks for consistent API error responses. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| errors/exceptions | 0.82 | — | 5 | 5 | 0 | 30 | 1 | 0.1 | 7.6 | MIT | — | |
| adroit11/laravel-tests | 0.82 | Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| wyrihaximus/test-utilities | 0.82 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 145K | 6 | 34.0 | 69.9 | MIT | 3 days ago | |
| graham-campbell/testbench-core | 0.82 | Core testing utilities for Laravel packages, maintained by Graham Campbell. Provides lightweight TestBench components compatible with Laravel 8–13, PHP 7.4–8.5, and PHPUnit 9–12 to simplify package test setup and integration. | 15 | 17 | 0 | 6K | 0 | 21.6 | 39.2 | MIT | 4 months ago |
How can I help you explore Laravel packages today?