hamcrest/hamcrest-php
Official PHP port of Hamcrest matchers for expressive assertions in tests. Use MatcherAssert::assertThat() or convenient global functions (assertThat, equalTo, is, both/andAlso, either/orElse) to build readable, composable matchers with PHP-friendly typing.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| edgedesign/phpqa | — | 563 | 564 | 59 | 25K | 2 | 23.5 | 25.6 | MIT | 6 months ago | |
| eloquent/phony | — | 194 | 196 | 7 | 2K | 8 | 6.2 | 11.5 | MIT | 5 years ago | |
| mehr-als-nix/assumptions | Assumptions for PHPUnit: skip tests when preconditions aren’t met (PHP version, extensions, etc.). Provides assumeTrue/assumeThat and Hamcrest matchers; failed assumptions are treated as skipped, including in @before/@beforeClass. Similar to @requires. | 2 | 3 | 2 | 0 | 0 | 2.2 | — | MIT | 8 years ago | |
| mockery/mockery | 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,722 | 10,807 | 463 | 9M | 105 | 67.9 | 61.9 | BSD-3-Clause | 2 years ago | |
| open-feature/flagd-provider | — | 2 | 2 | 1 | 20K | 0 | 0.1 | 52.9 | — | — | |
| open-feature/sdk | — | 42 | 42 | 10 | 81K | 14 | 33.2 | 62.8 | Apache-2.0 | 1 month ago | |
| phake/phake | Phake is a PHP mocking framework for PHPUnit and other test runners. Create mocks, stubs, and spies with a simple API, verify method calls and arguments, and define return values or exceptions—ideal for fast, isolated unit tests. | 475 | 483 | 86 | 66K | 13 | 32.6 | 40.0 | NOASSERTION | 3 months ago | |
| ramsey/collection | ramsey/collection is a PHP library for representing and manipulating typed collections. Provides data structures and APIs inspired by the Java Collections Framework, helping you store, validate, and work with groups of objects and values consistently. | 1,198 | 1,211 | 55 | 13M | 4 | 14.2 | 56.1 | MIT | 1 year ago | |
| ramsey/composer-repl-lib | Library for building interactive Composer-powered PHP REPLs. Provides the core loop and helpers to evaluate code in a Composer project context, load autoloaded classes, and inspect results—useful for CLI shells, debugging tools, and developer consoles. | 3 | 3 | 2 | 2K | 0 | 17.2 | 43.3 | MIT | 3 months ago | |
| ramsey/conventional-commits | PHP library for parsing and working with Conventional Commits. Read commit messages into structured objects, validate format, and extract type/scope/description, body, footers, and breaking changes—useful for changelogs, release automation, and tooling. | 193 | 193 | 22 | 149K | 9 | 23.1 | 48.1 | MIT | 3 months ago | |
| wiremock-php/wiremock-php | PHP client for WireMock to stub and mock HTTP APIs in tests. Create mappings, set expectations, verify requests, manage scenarios, and reset state via WireMock’s admin API. Useful for integration tests and local development without real services. | 91 | 91 | 15 | 33K | 1 | 21.2 | 41.3 | MIT | 3 months ago |
How can I help you explore Laravel packages today?