formapro/values
A lightweight Laravel/PHP package for working with typed values and value objects. It provides a clean, expressive API to encapsulate data, validate inputs, and keep domain logic consistent, reusable, and easy to maintain without unnecessary boilerplate.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| spatie/value-object | 0.85 | Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. | 2,221 | 2,223 | 187 | 0 | 0 | 12.9 | — | MIT | 4 years ago | |
| andydefer/domain-structures | 0.85 | 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 | — | |
| transprime-research/arrayed | 0.84 | Arrayed brings fluent, chainable array helpers to Laravel and PHP, making it simple to filter, map, group, sort, and transform nested data with clean, readable syntax. A lightweight toolkit for everyday array manipulation without boilerplate. | 22 | 22 | 1 | 10 | 2 | 0.8 | 2.2 | MIT | 2 years ago | |
| bfg/object | 0.84 | A lightweight Laravel/PHP package for object utilities, offering simple helpers to create, inspect, and manipulate object data in a clean, consistent way. Easy to drop into existing projects and use alongside Laravel or standalone PHP code. | 1 | 1 | 1 | 39 | 0 | 0.0 | 18.1 | MIT | — | |
| supportpal/eloquent-model | 0.84 | Eloquent-style base Model for PHP/Laravel to build custom, non-database models. Supports accessors/mutators, attribute casting, guarded/fillable and hidden fields, appended attributes, and easy array/JSON conversion. | 0 | 0 | 0 | 911 | 0 | 11.8 | 44.9 | — | 5 months ago | |
| minwork/array | 0.84 | Minwork Array provides fast, well-tested helpers for nested, associative, and object arrays. Get/set/has plus map, filter, find, group, sort, and validation, with fluent-style chaining. No dependencies; modern PHP syntax. | 63 | 66 | 12 | 7K | 1 | 5.4 | 27.8 | MIT | 6 years ago | |
| czim/laravel-dataobject | 0.84 | 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 | — | |
| phrity/util-accessor | 0.84 | Access nested data (arrays, objects, scalars) using simple slash-delimited paths. Provides get() with optional default return and type coercion, plus has() to check if a path exists. Lightweight utility for safe, convenient data retrieval. | 0 | 0 | 0 | 48K | 0 | 7.9 | 58.4 | MIT | 11 months ago | |
| scrumble-nl/popo | 0.83 | 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 | |
| php-standard-library/comparison | 0.83 | Interfaces and functions for type-safe, consistent value comparison in PHP, part of the PHP Standard Library. Provides predictable equality and ordering semantics across values, helping you write reliable, uniform comparison logic in your applications. | 1 | 1 | 0 | 90K | 0 | 21.5 | 64.8 | MIT | 1 week ago | |
| php-standard-library/collection | 0.83 | Generic, object-oriented Vector, Map, and Set collections for PHP, available in both immutable and mutable variants. Part of the PHP Standard Library, offering a consistent, type-safe API for building and transforming collections. | 1 | 1 | 0 | 54K | 0 | 21.6 | 64.9 | MIT | 1 week ago | |
| romanzipp/dto | 0.83 | 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 | — | |
| michael-rubel/laravel-value-objects | 0.83 | 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. | 205 | 205 | 18 | 158 | 1 | 2.2 | 3.8 | MIT | 1 year ago | |
| mauretto78/array-query | 0.83 | Array Query is a PHP library that lets you query arrays using SQL-like syntax: select, where, order by, group by, limit and joins, with support for nested keys and custom operators. It brings database-style filtering and sorting to plain arrays, making complex data manipulation readable and testable... | 12 | — | 4 | — | 0 | 0.2 | — | MIT | 7 years ago |
|
| marvin255/value-object-bundle | 0.83 | 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 | |
| serendipity_hq/component-value-objects | 0.83 | A Laravel/PHP value object component for modeling domain concepts with immutable, type-safe objects. Encapsulate validation and formatting, reduce primitive obsession, and bring clarity and safety to your codebase. | 21 | 20 | 1 | 8K | 6 | 0.9 | 25.9 | MIT | — | |
| std-out/simple-data-objects | 0.83 | 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 | |
| bruli/php-value-objects | 0.83 | 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 | — | |
| nicolopignatelli/valueobjects | 0.83 | Laravel-friendly PHP value objects library that helps you model domain concepts as immutable, self-validating objects (like Email, Money, Url, etc.). Encourages DDD patterns, clearer APIs, and safer data handling with consistent validation and comparison. | 0 | 430 | — | 0 | — | 0.0 | — | — | — |
How can I help you explore Laravel packages today?