skrepr/dto-tester
A lightweight testing toolkit for Data Transfer Objects in Laravel and PHP projects. It helps you verify DTO construction, property mapping, serialization, and validation behavior with expressive assertions, so your DTOs stay predictable and reliable as your application grows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-collective/dto | 0.82 | php-collective/dto is a lightweight PHP package for defining typed data transfer objects. Hydrate DTOs from arrays or Laravel requests, cast nested DTOs and collections, validate data, and keep application boundaries clean with simple, expressive classes. | 31 | 30 | 2 | 3K | 0 | 15.0 | 30.7 | MIT | 3 months ago | |
| cerbero/laravel-dto | 0.81 | Cerbero Laravel DTO provides a simple way to define typed data transfer objects in Laravel, with attribute casting, validation, and conversion from arrays, requests, and Eloquent models. It helps keep controllers and services clean by moving data shaping and validation into reusable DTO classes. | 58 | 59 | 2 | 69 | 0 | 0.4 | 4.7 | MIT | — | |
| digitalrevolution/accessorpair-constraint | 0.81 | 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. | 10 | 11 | 10 | 3K | 1 | 19.7 | 36.3 | MIT | 5 months ago | |
| fresns/dto | 0.81 | Fresns DTO provides a simple, typed data transfer object layer for Laravel/PHP applications. Define structured payloads, transform and validate data, and serialize cleanly to arrays or JSON for APIs, requests, and service boundaries. | 1 | 1 | 1 | 206 | 0 | 10.2 | 30.3 | Apache-2.0 | 6 months ago | |
| webmozarts/strict-phpunit | 0.80 | 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 | — | |
| draw/data-tester | 0.80 | Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 9 years ago | |
| cerbero/dto | 0.80 | Cerbero DTO is a lightweight Laravel/PHP package for creating type-safe data transfer objects from arrays and requests. It supports property casting, validation, nested DTOs, and easy serialization, helping keep application data structured and predictable. | 17 | 19 | 5 | 717 | 0 | 0.3 | 22.3 | MIT | — | |
| rekalogika/direct-property-access | 0.80 | Direct Property Access lets you read and write private and protected object properties in PHP without getters or setters, using reflection under the hood. Useful for tests, fixtures, and legacy code, with a clean, type-safe API and optional property-path support. | 1 | 1 | 0 | 808 | 0 | 10.8 | 40.1 | MIT | 5 months ago | |
| testo/testo | 0.80 | Testo is an extensible PHP testing framework built on a lightweight core with a middleware system. It gives you full control over your testing environment while keeping the familiar PHP syntax you already know, making custom test workflows easy to build and maintain. | 226 | 203 | 21 | 10K | 35 | 47.2 | 44.2 | BSD-3-Clause | 3 weeks ago | |
| wendelladriel/laravel-validated-dto | 0.80 | Validated DTOs for Laravel: extend ValidatedDTO, declare typed properties and validation rules, and get validated, cast, type-safe data objects from request payloads. Includes built-in casts and config publishing for cleaner controllers. | 774 | 774 | 46 | 54K | 1 | 26.3 | 28.0 | MIT | 5 months ago | |
| stephenjude/api-test-helper | 0.80 | stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... | 47 | — | 1 | — | 0 | 0.3 | — | MIT | 3 years ago | |
| dragon-code/simple-data-transfer-object | 0.80 | dragon-code/simple-data-transfer-object offers a lightweight way to define typed data transfer objects in Laravel and PHP applications, helping you move structured data between layers with less boilerplate and clearer, more predictable code. Ideal for request payloads, API responses, and service bou... | 9 | 8 | 2 | 43 | 0 | 0.1 | 7.1 | MIT | 2 years ago | |
| juststeveking/laravel-data-object-tools | 0.79 | Handy tools and helpers for working with data objects in Laravel. Simplifies creating, validating, transforming, and casting DTOs, helping you keep application data flow clean, type-safe, and consistent across your codebase. | 66 | 66 | 9 | 74 | 1 | 1.1 | 4.5 | MIT | 2 years ago | |
| romanzipp/dto | 0.79 | 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 | 337 | 1 | 0.2 | 19.7 | MIT | — | |
| sebastian/object-enumerator | 0.79 | Traverses arrays and object graphs to enumerate every referenced object, including nested structures and circular references. A small utility from Sebastian Bergmann's PHP testing stack, commonly pulled in by PHPUnit to walk object graphs safely. | 6,527 | 6,530 | 9 | 24M | 1 | 42.3 | 56.2 | BSD-3-Clause | 2 months ago | |
| bujanov/dto-bundle | 0.79 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| honeystone/laravel-dto-tools | 0.79 | Honeystone's Laravel DTO Tools provides a lightweight base DTO with validation, casting, serialization, and Eloquent integration, making it easy to move typed, validated data between requests, services, and models in Laravel applications. | 52 | — | 1 | — | 0 | 0.3 | — | MIT | — |
How can I help you explore Laravel packages today?