jessarcher/laravel-castable-data-transfer-object
A Laravel package that lets Eloquent models cast attributes directly to data transfer objects, keeping structured data typed and clean while handling JSON serialization automatically. Ideal for replacing loose arrays with explicit DTO classes.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| neuecommerce/model-casts | 0.86 | — | 0 | 0 | 0 | 4K | 0 | 0.0 | 49.3 | MIT | — | |
| jobmetric/laravel-package-core | 0.86 | A core foundation for building Laravel packages with JobMetric: shared service providers, configuration handling, migrations, and helper utilities that standardize structure and speed up development. | 11 | — | 1 | — | 0 | 0.4 | — | MIT | 1 year ago | |
| bgaze/laravel-kvstore | 0.86 | bgaze/laravel-kvstore provides a simple, database-backed key-value store for Laravel applications. Store and retrieve arbitrary values—strings, arrays, objects—through an intuitive API with dot-notation support, caching, and easy integration for app settings, preferences, and small configuration dat... | 19 | — | 0 | — | 0 | 16.9 | — | MIT | 2 months ago | |
| kerrialn/static-data-importer-bundle | 0.86 | A Symfony bundle for importing static data into your application. It helps load seed or reference datasets into your database through a simple, configurable workflow, making it easier to keep fixtures and lookup data in sync. A lightweight utility for repetitive data import tasks. | 1 | 1 | 0 | 0 | 1 | 0.4 | — | MIT | 4 years ago | |
| czim/laravel-dataobject | 0.85 | Lightweight data objects for Laravel: define typed properties, hydrate instances from arrays, and convert them back to arrays or JSON. A simple way to keep request, config, and domain data structured, consistent, and easy to pass around with minimal boilerplate. | 11 | 11 | 0 | 2K | 0 | 0.1 | 30.7 | MIT | — | |
| nolanos/laravel-model-typescript-transfomer | 0.85 | 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 | — | — | |
| std-out/simple-data-objects | 0.85 | Lightweight, attribute-driven DTOs for PHP 8.4+ with zero runtime reflection and compiled per-class closures for fast hydration and serialization. Works standalone or in Laravel 12–13. | 35 | 35 | 0 | 202 | 0 | 27.3 | 13.2 | MIT | 3 weeks ago | |
| dayploy/dart-dto-bundle | 0.85 | — | 0 | 0 | 0 | 193 | 0 | 0.0 | 31.6 | MIT | — | |
| apie/type-converter | 0.85 | Apie type converter converts PHP objects into other objects, ideal for mapping DTOs to domain objects and back. It ships with default converters and lets you easily write your own. | 0 | 0 | 0 | 3K | 0 | 16.4 | 53.7 | MIT | 2 months ago | |
| cocur/vale | 0.85 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 32.1 | MIT | 11 years ago | |
| coder-at-heart/object-models | 0.85 | — | 5 | 6 | 0 | 1 | 0 | 0.0 | 0.9 | MIT | — | |
| codexshaper/php-database | 0.85 | A lightweight database toolkit for PHP and Laravel with a fluent query builder, flexible connections, and schema helpers. Write clean, expressive, portable queries with chainable syntax and minimal dependencies, making everyday database work simpler and more readable. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| digital-craftsman/deserializing-connection | 0.85 | — | 0 | 0 | 0 | 346 | 0 | 25.0 | 41.3 | MIT | 6 days ago | |
| saritasa/laravel-repositories | 0.85 | Saritasa's Laravel Repositories package provides a structured repository layer for Eloquent models, including base repository classes, reusable query criteria, and helper abstractions that keep controllers and models lean while centralizing data access, filtering, and persistence logic. | 2 | 3 | 2 | 106 | 0 | 0.1 | 15.2 | MIT | 2 years ago | |
| hnhdigital-os/laravel-model-schema | 0.85 | Laravel Model Schema adds schema introspection to Eloquent models, letting you read column names, types, and related metadata directly from the model. Handy for generating forms, filters, validation rules, and admin scaffolding without querying the database manually. | 12 | 12 | 0 | 0 | 0 | 0.4 | — | MIT | 3 years ago | |
| bornfight/transfer-object-converter | 0.85 | — | 12 | 12 | 0 | 0 | 0 | 2.2 | 3.8 | MIT | 7 years ago | |
| vkovic/laravel-custom-casts | 0.84 | vkovic/laravel-custom-casts provides reusable, class-based custom attribute casts for Laravel Eloquent models, keeping get/set and serialization logic organized, testable, and out of your models—ideal for value objects, arrays, and other complex attribute transformations. | 217 | 217 | 20 | 2K | 2 | 2.4 | 14.9 | MIT | 5 years ago | |
| honeystone/laravel-dto-tools | 0.84 | 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.84 | 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 | |
| cerbero/laravel-dto | 0.84 | 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 | — |
How can I help you explore Laravel packages today?