atoum/praspel-extension
Atoum extension that brings Praspel design-by-contract support to PHP test suites, letting you declare and verify preconditions, postconditions, and invariants alongside atoum assertions. Use annotations to specify expected behavior and catch contract violations early.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/peek-and-poke | 0.85 | 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 | — | |
| hoa/praspel | 0.85 | Hoa\Praspel brings Design by Contract to PHP: write behavioral specifications with preconditions, postconditions and invariants, then automatically generate test data to validate your code. A concise specification and testing toolkit for robust PHP libraries. | 40 | 39 | 7 | 597 | 3 | 0.6 | 11.8 | — | 9 years ago | |
| phpunit/phpunit-skeleton-generator | 0.83 | 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 | — | — | |
| yoanm/php-unit-extended | 0.83 | 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 | |
| dave-liddament/php-language-extensions | 0.83 | PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. | 196 | 196 | 5 | 27K | 3 | 3.1 | 30.6 | MIT | 11 months ago | |
| phpstan/phpstan-phpunit | 0.83 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 4 weeks ago | |
| php-mock/php-mock-integration | 0.83 | Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state. | 14 | 14 | 6 | 374K | 0 | 8.2 | 57.8 | WTFPL | 9 months 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 | 1K | 0 | 0.0 | 43.0 | MIT | — | |
| stephenjude/api-test-helper | 0.82 | 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 | |
| gecko-packages/gecko-php-unit | 0.82 | 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 | |
| ciaranmcnulty/phpspec-typehintedmethods | 0.82 | PhpSpec extension that generates typehinted methods for your collaborators, so spec-generated stubs and mocks include proper parameter and return types. Keeps specs clean while producing type-safe, IDE-friendly code. | 30 | 30 | 12 | 126 | 2 | 1.2 | 10.9 | MIT | 8 years ago | |
| erikgall/eloquent-phpunit | 0.82 | Eloquent PHPUnit adds convenient PHPUnit integration for Eloquent models, reducing boilerplate around test setup and database assertions. It helps you verify model behavior and persistence cleanly, making Laravel or standalone Eloquent test suites faster to write and easier to maintain. | 20 | 21 | 3 | 35 | 2 | 0.9 | 5.9 | MIT | 9 years ago | |
| mageekguy/atoum | 0.82 | atoum is a modern, standalone PHP unit testing framework with an expressive assertion API, built-in mocking, code coverage, and clear reports. Its simple, intuitive DSL and fluent syntax help developers write and run tests quickly, making PHP testing more enjoyable, readable, and less verbose. | 11 | — | 0 | — | 0 | 0.1 | — | NOASSERTION | — |
|
| dave-liddament/phpstan-php-language-extensions | 0.82 | A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. | 44 | 45 | 4 | 25K | 0 | 2.1 | 38.5 | MIT | 11 months ago | |
| phpspec/phpspec | 0.82 | phpspec is a BDD-style testing and specification framework for PHP inspired by RSpec. Write executable specs that describe how your objects should behave, drive design from the outside in, and get fast feedback with no database or web server required. | 1,903 | 1,946 | 285 | 255K | 136 | 72.8 | 62.5 | NOASSERTION | 1 week ago | |
| knplabs/phpspec-welldone-extension | 0.82 | A PhpSpec extension that adds a bit of encouragement to your test runs: when the whole suite passes, it prints a congratulatory "well done" message instead of leaving you with plain green output. Small, drop-in composer package that hooks into PhpSpec's event system to celebrate successful... | 6 | 6 | 1 | 109 | 1 | 0.1 | 11.9 | MIT | — | |
| pact-foundation/pact-php | 0.82 | PHP implementation of the Pact consumer-driven contract testing framework. Define contracts between services, run provider verification, and integrate with PHPUnit/CI to prevent breaking API changes. Supports HTTP interactions, mock servers, and Pact Broker workflows. | 303 | 303 | 91 | 119K | 2 | 24.7 | 41.9 | Apache-2.0 | 5 months ago | |
| atoum-next/atoum-bundle | 0.82 | Symfony bundle for integrating atoum-next, the PHP unit testing framework, into Symfony applications. It provides bundle configuration, service wiring, and convenient test execution so teams can write and run atoum tests within a standard Symfony project. | 0 | 0 | 0 | 0 | 0 | 16.9 | — | MIT | 2 months ago | |
| etsglobal/php-static-analysis | 0.82 | A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. | 0 | 0 | — | 50 | — | 0.0 | 23.6 | — | — | |
| marcin-orlowski/phpunit-extra-asserts | 0.82 | A collection of extra assertions for PHPUnit that helps make test suites more expressive and readable. Add clearer, reusable checks for common test scenarios, reduce custom assertion code, and get more informative failures in PHPUnit-based projects. | 3 | 3 | 0 | 623 | 0 | 0.0 | 30.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?