Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hamcrest Php Laravel Package

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
mehr-als-nix/assumptions 0.81 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
View on GitHub
Context7
phpstan/phpstan-phpunit 0.80 PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. 527 531 56 3M 33 44.1 78.9 MIT 1 month ago
View on GitHub
Context7
helmich/phpunit-json-assert 0.79 Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. 129 129 27 49K 3 24.0 42.3 MIT 1 month ago
View on GitHub
Context7
codeception/module-asserts 0.79 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. 85 86 10 1M 0 25.0 65.0 MIT 3 months ago
View on GitHub
Context7
phpunitgoodpractices/traits 0.78 A small set of PHP traits to improve PHPUnit test code by reducing boilerplate and encouraging cleaner, reusable assertions and setup patterns. Useful for Laravel and general PHP projects that want more readable, maintainable tests. 22 22 2 15K 3 12.6 46.6 MIT 3 years ago
View on GitHub
Context7
carthage-software/mago 0.77 Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It brings Rust-inspired speed and reliability to PHP projects with a modern toolchain and great developer experience, plus multiple install options (script, Homebrew, Composer). 2,995 2,995 144 116K 86 71.6 55.8 Apache-2.0 1 day ago
View on GitHub
Deep Wiki
Context7
kubawerlos/php-cs-fixer-custom-fixers 0.77 Adds a curated set of custom fixers for PHP-CS-Fixer to enforce consistent, opinionated code style beyond the built-in rules. Plug in the fixers, combine with your config, and keep large PHP codebases clean and uniform. 238 239 26 344K 4 32.0 52.2 MIT 1 month ago
View on GitHub
Context7
bovigo/assert 0.76 Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. 13 13 6 905 1 29.4 29.5 BSD-3-Clause 4 months ago
View on GitHub
Context7
behat/gherkin 0.76 behat/gherkin is a PHP library for parsing the Gherkin language used in BDD. Read and tokenize feature files, build an AST, and integrate with Behat or other test runners to execute human-readable scenarios in your test suite. 1,061 1,068 94 3M 9 37.0 61.5 MIT 4 months ago
View on GitHub
Context7
php-mock/php-mock-phpunit 0.75 Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. 171 174 20 230K 3 28.5 51.3 WTFPL 2 months ago
View on GitHub
Context7
khaled.alshamaa/ar-php 0.75 Ar-PHP is a PHP library for Arabic language processing: text shaping and normalization, transliteration, date/hijri handling, numbers-to-words, and other Arabic-specific utilities. Useful for Arabic web apps, reports, and localization. 332 331 57 84K 8 29.5 43.1 NOASSERTION 1 year ago
View on GitHub
Context7
phpstan/phpstan-mockery 0.68 PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis. 102 100 24 995K 9 29.7 68.8 MIT 1 year ago
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation