Weave 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

Phpunit Arraysubset Asserts Laravel Package

dms/phpunit-arraysubset-asserts

Polyfill for PHPUnit’s deprecated/removed assertArraySubset. Adds Assert::assertArraySubset() and a trait to keep existing tests working. Uses native PHPUnit behavior when available; provides the missing assertion for PHPUnit 8+ while supporting older versions.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
lastdragon-ru/phpunit-extensions 0.85 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 28 0 0.0 20.2 MIT —
View on GitHub
php-mock/php-mock-phpunit 0.84 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. 173 176 20 236K 4 28.3 51.3 WTFPL 1 month ago
View on GitHub
k2gl/phpunit-fluent-assertions 0.83 A PHPUnit extension that adds fluent, chainable assertions to your tests, making expectations more readable and expressive while reducing verbose assertion code and keeping familiar PHPUnit workflows. 2 2 0 586 0 17.3 36.4 MIT 1 month ago
View on GitHub
phpunitgoodpractices/polyfill 0.83 Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades. 11 11 1 8K 6 2.1 28.5 MIT 3 years ago
View on GitHub
Context7
yoast/phpunit-polyfills 0.83 Polyfills to write PHPUnit tests compatible across versions. Provides traits, test cases, and utilities that bridge API changes so one test suite can run on PHPUnit 7.5–9 and 11–12. Requires PHP 7.1+. 189 186 13 2M 5 10.3 56.4 BSD-3-Clause 1 year ago
View on GitHub
phpunitgoodpractices/traits 0.83 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. 21 22 1 15K 3 2.6 28.1 MIT 4 years ago
View on GitHub
webmozarts/strict-phpunit 0.83 Enforces strict PHPUnit configuration for PHP projects using the Webmozart standards. Helps catch risky tests, deprecated usage, and unintended behavior by turning on stricter PHPUnit settings and providing an easy way to apply and maintain them across projects. 32 31 1 21K 0 0.2 38.7 MIT —
View on GitHub
phpunit/phpunit 0.82 PHPUnit is a programmer-oriented testing framework for PHP, an xUnit architecture instance for unit testing. Install via PHAR or Composer. 0 20,591 — 27M — 15.0 55.3 — —
View on GitHub
testo/assert 0.82 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 16K 0 0.0 55.3 — —
View on GitHub
Context7
sempro/phpunit-pretty-print 0.82 Pretty-print PHPUnit test output for cleaner, more readable console runs. sempro/phpunit-pretty-print adds a nicer, compact format that highlights failures and progress, helping you scan results faster while keeping compatibility with standard PHPUnit workflows. 184 185 25 65K 3 4.3 35.8 MIT 5 years ago
View on GitHub
bovigo/assert 0.82 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 5 724 1 11.5 24.9 BSD-3-Clause 11 months ago
View on GitHub
maks3w/phpunit-methods-trait 0.82 PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert. 1 2 1 14 0 2.8 12.5 NOASSERTION 5 years ago
View on GitHub
phpstan/phpstan-webmozart-assert 0.82 PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. 185 185 33 639K 5 12.3 50.1 MIT 1 year ago
View on GitHub
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
View on GitHub
phpunit/phpunit-dom-assertions 0.82 Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. 29 — 13 — 1 6.3 — NOASSERTION 8 months ago
way/phpunit-wrappers 0.82 way/phpunit-wrappers provides lightweight PHPUnit wrapper utilities for Laravel and PHP projects, helping you write cleaner, more readable tests with less boilerplate. Use it to simplify assertions, test setup, and common testing patterns without changing your existing PHPUnit workflow. 45 47 2 66 0 0.3 5.3 — —
View on GitHub
jchook/phpunit-assert-throws 0.82 A PHPUnit assertion helper for testing that code throws exceptions. It adds assertThrows to verify exception types and messages in a single call, keeping tests compact and readable while confirming the expected error is actually raised. 11 — 3 — 0 0.1 — MIT —
phpstan/phpstan-beberlei-assert 0.82 PHPStan extension for beberlei/assert. Adds improved static analysis and type inference for Assert::that and related assertions, helping PHPStan understand refined types after checks and reducing false positives in codebases using beberlei/assert. 43 44 16 131K 3 6.2 48.2 MIT 1 year ago
View on GitHub
eliashaeussler/phpunit-attributes 0.82 PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows. 4 4 1 4K 1 11.5 43.3 GPL-3.0 7 months ago
View on GitHub
loophp/phpunit-iterable-assertions 0.82 PHPUnit helper assertions for iterables. Adds convenient, fluent checks for arrays and Traversables to simplify and clarify test expectations when working with generators, collections, and other iterable data sources. 2 2 0 170 1 2.7 28.1 MIT 2 years ago
View on GitHub
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels