michael-rubel/laravel-value-objects
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ringlesoft/laravel-selectable | 0.88 | Laravel Selectable generates HTML select options directly from Laravel collections using a fluent, chainable API. Customize labels and values with strings or closures, set selected/disabled options, add data attributes, grouping, and export arrays for AJAX or SPAs. | 5 | 6 | 0 | 1 | 0 | 17.0 | 1.1 | MIT | 3 months ago | |
| michael-rubel/laravel-helpful-traits | 0.88 | A collection of reusable traits for Laravel that cuts boilerplate across models, controllers, form requests, and more. Drop-in traits add common behaviors like UUIDs, slugs, query scopes, caching, and response helpers, keeping your code concise, consistent, and aligned with Laravel conventions. | 13 | 0 | 0 | 0 | 0 | 0.2 | — | MIT | 3 years ago | |
| grantholle/scru128-laravel | 0.88 | Laravel integration for SCRU128, a 128-bit, globally unique and time-sortable identifier format. Generate IDs and use them in Eloquent models and database columns with convenient helpers, casting support, and validation rules. | 0 | 0 | 0 | 11 | 0 | 17.6 | 17.2 | MIT | 1 month ago | |
| romanzipp/dto | 0.88 | 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.88 | 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 | |
| matthewbdaly/laravel-repositories | 0.88 | — | 12 | — | 1 | — | 0 | 0.1 | — | MIT | 8 years ago | |
| nunomaduro/laravel-any | 0.87 | Nuno Maduro's tiny Laravel helper that resolves any class through the service container, automatically injecting its dependencies so you can instantiate objects with zero boilerplate. | 38 | 38 | 2 | 1 | 0 | 0.3 | 0.2 | MIT | — | |
| anourvalar/eloquent-serialize | 0.87 | Serialize and restore Eloquent query builders with ease. Capture chained queries including eager loading, where clauses, and limits, then unserialize later to run them. Supports Laravel 6 through 12. | 117 | 116 | 14 | 6M | 0 | 28.6 | 63.6 | MIT | 1 month ago | |
| scrumble-nl/popo | 0.87 | Popo is a Laravel package for generating plain old PHP objects (POPOs) from Eloquent models, giving you lightweight, framework-independent data containers that keep application layers clean and decoupled, with simple Artisan commands and an expressive API. | 5 | 5 | 2 | 962 | 0 | 19.5 | 35.6 | — | 3 weeks ago | |
| apie/text-value-objects | 0.87 | — | 0 | 0 | 0 | 15 | 0 | 0.0 | 16.6 | MIT | — | |
| 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 | 562 | 0 | 0.8 | 11.9 | MIT | 1 year ago | |
| bruli/php-value-objects | 0.87 | A lightweight PHP library for building immutable value objects with typed primitive wrappers and validation. bruli/php-value-objects helps enforce domain invariants, reduce primitive obsession, and keep Laravel or any PHP codebase clearer and safer. | 43 | 43 | 13 | 580 | 1 | 0.7 | 15.9 | MIT | — | |
| gabrielfpereira/base-25 | 0.87 | gabrielfpereira/base-25 is a Laravel/PHP package with minimal adoption and no listed stars. Review its source and documentation carefully before production use; it may suit experiments or projects where you can vet and maintain the code yourself. | 0 | — | 0 | — | 0 | 0.3 | — | — | 1 year ago | |
| bmatovu/laravel-xml | 0.87 | A Laravel package for working with XML. It converts XML requests and responses into arrays, adds XML response helpers and middleware, and lets your APIs accept and return XML alongside JSON, with configurable parsing and validation support. | 88 | 91 | 10 | 7K | 5 | 11.4 | 30.6 | MIT | 6 months ago | |
| michael-rubel/laravel-safe-request | 0.87 | A Laravel package for safer request handling: define validation rules and access only validated input, keeping unvalidated fields out of controllers and services. It helps reduce mass-assignment and untrusted-data risks while keeping form requests simple. | 13 | 13 | 0 | 0 | 0 | 0.2 | — | MIT | 3 years ago | |
| n7olkachev/laravel-computed-properties | 0.86 | 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 | |
| tdn/php-types | 0.86 | A small PHP utility for working with types: safely cast values, validate data against expected types, and normalize scalars, arrays and objects. Lightweight and framework-agnostic, it drops easily into Laravel or any Composer project. | 7 | 8 | 0 | 45 | 0 | 0.0 | 8.0 | NOASSERTION | 11 years ago | |
| yokai/doctrine-value-object | 0.86 | yokai/doctrine-value-object brings reusable value objects to Doctrine in Laravel apps, offering embeddable types and integration helpers for cleaner, type-safe domain models with less boilerplate. | 13 | 13 | 1 | 10K | 0 | 0.1 | 39.5 | MIT | 2 years ago | |
| marvin255/value-object-bundle | 0.86 | A Symfony bundle for using immutable value objects with Doctrine ORM, offering base classes, type mappings, and integration helpers so domain values can be persisted and hydrated transparently. Helps keep models expressive and avoid primitive obsession. | 0 | 0 | 0 | 2 | 0 | 12.1 | 7.3 | MIT | 5 months ago | |
| matthiasnoback/doctrine-orm-value-object | 0.86 | A Doctrine ORM integration for mapping PHP value objects as embeddables, with support for custom types and conversion between value objects and database columns. It helps keep domain models free of ORM concerns while persisting rich value objects transparently. | 19 | — | 1 | — | 1 | 0.2 | — | — | — |
|
How can I help you explore Laravel packages today?