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

Data Model Laravel Package

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.

View on GitHub
Deep Wiki
Context7
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 —
View on GitHub
wendelladriel/laravel-validated-dto 0.88 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
View on GitHub
Context7
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 —
View on GitHub
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
View on GitHub
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 —
View on GitHub
Context7
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
View on GitHub
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 —
View on GitHub
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 —
View on GitHub
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.4 63.7 MIT 1 week ago
View on GitHub
Context7
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 —
View on GitHub
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
View on GitHub
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
View on GitHub
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
View on GitHub
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
View on GitHub
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
View on GitHub
nazarii-kretovych/laravel-api-model-driver 0.87 An Eloquent driver for Laravel that backs models with external APIs instead of a database, so you can query remote HTTP resources while keeping familiar models, relationships, casts, and conventions, without rewriting your data layer. 34 — 13 — 0 1.0 — MIT 6 years ago
View on GitHub
nolanos/laravel-model-typescript-transfomer 0.87 Generates TypeScript definitions for Laravel Eloquent models via spatie/laravel-typescript-transformer. Maps database column types to TypeScript, respects hidden/visible fields, handles nullable columns, and works with php artisan typescript:generate. 0 7 — 275 — 1.8 33.7 — —
View on GitHub
michael-rubel/laravel-enhanced-container 0.87 A lightweight extension for Laravel’s service container, offering convenient helpers for binding, resolving, and managing dependencies. Simplify contextual bindings, singletons, and instance handling while keeping service providers clean, expressive, and easier to test. 88 88 3 546 0 0.8 11.8 MIT 1 year ago
View on GitHub
genealabs/laravel-overridable-model 0.87 Override Eloquent model methods and properties at runtime without touching vendor code. Define per-model overrides in your app to customize package models, swap behavior, or inject your own logic—keeping third-party code untouched and upgrades painless. 93 92 5 11K 0 0.5 20.2 MIT 2 years ago
View on GitHub
oi-lab/oi-laravel-ts 0.87 A Laravel package that automatically generates TypeScript interfaces from your Eloquent models, with relationship support, custom casts, DataObjects, PHPDoc types, watch mode, and namespace filters for customization. 1 1 0 259 0 19.8 34.0 MIT 1 month 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.
likyly/sdk
tdt/input
coreation/php-shapefile
coreation/gisconverter
primix/widgets
primix/notifications
primix/actions
primix/tables
primix/details
primix/forms
primix/support
marcelgwerder/laravel-api-handler
firebrikdotcom/conveyor-laravel-broadcaster
kanata-php/conveyor-laravel-broadcaster
alish/short-message
sonrac/lumen-league-oauth2
pushery/sanctum-hardening-for-laravel
evanschleret/laravel-uuidable
yigit-serin/laravel-openvidu
adachsoft/command-executor-lib