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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 22.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,725 | 10,812 | 463 | 9M | 104 | 87.9 | 82.1 | BSD-3-Clause | 1 year 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,194 | 1,209 | 56 | 13M | 4 | 34.3 | 66.8 | 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. | 2 | 2 | 2 | 2K | 0 | 22.4 | 46.9 | MIT | 1 month 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 | 194 | 24 | 67K | 9 | 28.4 | 45.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?