zero-to-prod/data-model
DataModel hydrates PHP objects from external data with a single from($data) call using reflection and type hints. Validation and casting live in #[Describe] attributes (required, nullable, default, assign), replacing manual property wiring and scattered null checks.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cerbero/laravel-dto | 0.88 | 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 | — | |
| rakshitbharat/extendeddatabase | 0.88 | ExtendedDatabase adds practical extensions to Laravel's database layer, with helpful query builders, schema utilities, and connection conveniences that cut boilerplate. Lightweight, Eloquent-friendly APIs make everyday database work simpler and more readable. | 12 | — | 0 | — | 0 | 0.1 | — | MIT | 4 years ago | |
| romanzipp/laravel-dto | 0.88 | A lightweight base class for building Data Transfer Objects in Laravel. Define typed properties, cast nested DTOs and collections, and hydrate from arrays or requests, giving your app predictable, self-validating data objects instead of loose arrays. | 11 | 11 | 2 | 125 | 1 | 0.3 | 14.6 | MIT | — | |
| nodes/database | 0.88 | Nodes Database is a Laravel package from Nodes that simplifies working with application data, providing a clean layer over schemas, migrations, and queries so you can build database-backed features with less boilerplate while staying close to Laravel's conventions and existing tooling. | 3 | 3 | 2 | 22 | 0 | 0.0 | 7.9 | MIT | 6 years ago | |
| toramanlis/implicit-migrations | 0.88 | Implicit Migrations lets you manage your Laravel database schema implicitly through Eloquent models, automatically generating and applying migrations to keep tables in sync—no hand-written migration files required. Great for rapid prototyping and simpler schema workflows. | 42 | — | 2 | — | 0 | 4.9 | — | MIT | 9 months ago | |
| json-mapper/laravel-package | 0.88 | Map JSON payloads and arrays into typed PHP objects and DTOs with this Laravel package. A fluent API defines field mappings, nested structures, and collections, with clean integration into Laravel's container, facades, and config. | 25 | 25 | 5 | 12K | 0 | 8.9 | 39.4 | MIT | 7 months ago | |
| wendelladriel/laravel-validated-dto | 0.87 | 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 | 52K | 1 | 26.3 | 28.0 | MIT | 5 months ago | |
| iatstuti/laravel-nullable-fields | 0.87 | Adds a NullableFields trait to your Eloquent models that automatically converts empty strings to NULL before saving, keeping nullable database columns clean and consistent without scattering custom mutators throughout your Laravel code. | 102 | 105 | 11 | 437 | 0 | 8.3 | 10.6 | MIT | 7 months ago | |
| honeystone/laravel-dto-tools | 0.87 | 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 | — | |
| juststeveking/laravel-data-object-tools | 0.87 | 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 | 70 | 1 | 1.1 | 4.3 | MIT | 2 years ago | |
| romanzipp/dto | 0.87 | 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 | — | |
| andydefer/domain-structures | 0.87 | A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. | 0 | 0 | 0 | 2K | 0 | 0.0 | 46.3 | MIT | — | |
| spatie/laravel-data | 0.87 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.3 | 63.5 | MIT | 1 week ago | |
| cerbero/dto | 0.87 | 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 | — | |
| maartenpaauw/laravel-specification-pattern | 0.87 | A Laravel package for the specification pattern, letting you encapsulate business rules into reusable, composable specifications and apply them to Eloquent queries or collections for cleaner, testable domain logic. | 15 | — | 1 | — | 0 | 8.7 | — | MIT | 7 months ago | |
| zing/laravel-like | 0.87 | zing/laravel-like is a lightweight Laravel package for adding like and unlike behavior to Eloquent models. Use traits and polymorphic relationships to let users like any model, check liked status, and retrieve like counts through a simple, expressive API. | 4 | 4 | 0 | 0 | 0 | 0.0 | — | MIT | 5 years ago | |
| xsolve-pl/model-factory | 0.87 | xsolve-pl/model-factory is a Laravel package for quickly generating model factories, helping you scaffold test data and simplify Eloquent model setup. It streamlines factory creation so you can focus on writing tests and building features. | 2 | 2 | 0 | 193 | 0 | 0.0 | 25.1 | MIT | 5 years ago | |
| complex-heart/domain-model | 0.87 | Domain modeling toolkit for Laravel and PHP applications. Provides reusable base classes and utilities for entities, value objects, aggregates, and domain events, helping you keep business logic expressive, testable, and independent of framework concerns. | 3 | 4 | 0 | 216 | 0 | 15.6 | 27.3 | MIT | 2 months ago | |
| rulr/laravel-authored | 0.87 | A small Laravel package for recording and querying authorship on your models, so you can see who created or changed a record. Simple traits and helpers keep attribution consistent across your app without extra tables or boilerplate. | 4 | 4 | 0 | 0 | 0 | 0.0 | — | MIT | 1 year ago | |
| axn/laravel-models-generator | 0.87 | Generate Eloquent models directly from your existing database schema. Laravel Models Generator inspects your tables and creates ready-to-use model classes with fillable fields, relationships, and more, making it easy to bootstrap new projects or reverse-engineer legacy databases. | 23 | 23 | 3 | 313 | 0 | 0.3 | 11.2 | MIT | 1 year ago |
How can I help you explore Laravel packages today?