digitalrevolution/accessorpair-constraint
PHPUnit helper to automatically test and cover getters/setters (and constructor-to-getter pairs) on data classes. Add the AccessorPairAsserter trait and call assertAccessorPairs() to validate accessor pairs, optional default/initial value checks.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| digitalrevolution/utils | 0.86 | A PHP 8.3+ utility library of everyday helper classes, focused on array operations such as first/last, find, flatten, map, groupBy, diff, unique, remove, JSON conversion, and path fetching, plus iterable and string helpers. | 2 | 1 | 8 | 2K | 1 | 29.0 | 46.8 | MIT | 3 weeks ago | |
| imanghafoori/laravel-makesure | 0.84 | — | 21 | 21 | 3 | 44 | 1 | 1.0 | 6.6 | MIT | 2 years ago | |
| atournayre/assert | 0.84 | — | 0 | 0 | 0 | 13 | 1 | 1.3 | 15.8 | MIT | 3 years ago | |
| draw/tester | 0.84 | 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 | — | |
| apie/phpunit-matrix-data-provider | 0.84 | PHPUnit data provider that generates a matrix of test cases across multiple PHP and Laravel versions in one go. Configure your supported version combinations and let it fan tests out automatically, keeping compatibility suites DRY and every run clearly labeled by environment. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.6 | MIT | — | |
| marcin-orlowski/phpunit-extra-asserts | 0.84 | 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 | |
| nicolopignatelli/valueobjects | 0.83 | Laravel-friendly PHP value objects library that helps you model domain concepts as immutable, self-validating objects (like Email, Money, Url, etc.). Encourages DDD patterns, clearer APIs, and safer data handling with consistent validation and comparison. | 0 | 430 | — | 0 | — | 0.0 | — | — | — | |
| phpunit/phpunit-dom-assertions | 0.83 | 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 |
|
| doctrine/instantiator | 0.83 | Lightweight PHP library to instantiate objects without calling their constructors. Useful for hydrators, serializers, proxies, and testing/mocking. Part of the Doctrine ecosystem; creates instances via reflection while avoiding side effects and required constructor args. | 10,979 | 11,014 | 65 | 14M | 1 | 35.2 | 44.3 | MIT | 10 months ago | |
| santigarcor/laravel-ownable | 0.83 | A Laravel package that adds polymorphic ownership to Eloquent models, letting any model be assigned to users or other entities. It provides traits, relationships, and helpers to query owned records and manage ownership across your application. | 19 | — | 4 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| pkly/phpunit-service-create-trait | 0.83 | A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it. | 0 | 0 | 0 | 289 | 0 | 20.8 | 39.4 | MIT | 1 month ago | |
| richcongress/test-tools | 0.83 | richcongress/test-tools is a small Laravel/PHP package offering testing helpers and utilities to simplify test setup and assertions, helping you write cleaner, more maintainable tests with less boilerplate. | 0 | 0 | 0 | 261 | 1 | 0.1 | 33.4 | MIT | 4 years ago | |
| nyholm/nsa | 0.83 | Testing helper to access and manipulate private/protected properties and methods in PHP. Set/get instance or static properties and invoke hidden methods to simplify tests and improve DX. Install via Composer: nyholm/nsa. | 228 | 229 | 11 | 104K | 0 | 15.9 | 40.6 | MIT | 7 months ago | |
| phpunit/dbunit | 0.83 | PHPUnit extension for database interaction testing. Provides DbUnit helpers for setting up database fixtures and asserting database state in tests. Install via Composer (dev) or PHAR. Note: this package is no longer maintained. | 222 | 245 | 183 | 52K | 9 | 5.0 | 25.2 | NOASSERTION | 11 years ago | |
| digitalnature/php-ref | 0.83 | php-ref is a drop-in replacement for print_r and var_dump that renders PHP variables in a clean, interactive, syntax-highlighted interface with collapsible structures, search, and keyboard navigation—making debugging complex arrays and objects faster and easier. | 339 | — | 58 | — | 18 | 9.3 | 8.2 | — | 6 years ago |
|
| romanzipp/dto | 0.83 | Lightweight data transfer objects for PHP and Laravel. Define typed properties, cast and validate values, and convert DTOs to and from arrays with ease, keeping request and response data structured and type-safe. | 12 | 12 | 1 | 347 | 1 | 0.2 | 19.9 | MIT | — | |
| matthiasnoback/doctrine-dbal-test-service-provider | 0.83 | — | 3 | 3 | 8 | 75 | 0 | 6.3 | 18.5 | MIT | 1 year ago | |
| n7olkachev/laravel-computed-properties | 0.83 | Add computed properties to your Laravel Eloquent models, calculated on the fly like accessors but excluded from the database. Keep models lean, reuse derived values across queries and serialization, and write less boilerplate. | 187 | — | 8 | — | 0 | 1.2 | — | — | 8 years ago | |
| michael-rubel/laravel-value-objects | 0.83 | Laravel Value Objects offers an abstract base class and Eloquent casts for turning model attributes into immutable value objects, with validation, comparison helpers, and PHP 8 support for cleaner, type-safe domain code. | 205 | 205 | 18 | 159 | 1 | 2.2 | 3.8 | MIT | 1 year ago | |
| nilportugues/assert | 0.83 | A lightweight PHP assertion library for validating values and enforcing invariants. It provides expressive, chainable assertions that fail with clear exceptions, helping you catch invalid input early and make code contracts explicit and easy to read. | 10 | — | 3 | — | 0 | 0.1 | — | — | 10 years ago |
|
How can I help you explore Laravel packages today?