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

Valueobjects Laravel Package

nicolopignatelli/valueobjects

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
alexandrebulete/ddd-foundation 0.87 — 3 3 0 11 0 0.0 7.9 — —
View on GitHub
apie/type-converter 0.87 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
View on GitHub
php-ddd/domain-driven-design 0.87 php-ddd/domain-driven-design helps Laravel/PHP developers structure applications around bounded contexts and domain logic, with reusable DDD building blocks and conventions for entities, value objects, aggregates, repositories, services, and domain events. 29 — 4 — 1 0.2 — MIT 11 years ago
dothiv/dothiv-valueobject-bundle 0.87 Symfony bundle providing a set of reusable value objects for Dothiv projects, aimed at consistent domain modeling and type-safe primitives. Includes common immutable objects and utilities to share across services and applications. 1 1 0 0 0 0.0 — MIT —
View on GitHub
runn/valueobjects 0.87 Runn ValueObjects gives you a lightweight foundation for immutable PHP value objects, with typed base classes for strings, integers, booleans and arrays, validation helpers, and Eloquent casts to keep domain values consistent. 9 9 2 18 1 0.3 6.2 LGPL-3.0 —
View on GitHub
czim/laravel-dataobject 0.86 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 —
View on GitHub
cubicmushroom/valueobjects 0.86 A small PHP package providing lightweight Value Object classes to model immutable domain values (e.g., IDs, money, email, dates) with validation and type-safety. Useful for cleaner Laravel apps and DDD-style codebases. 0 0 0 0 0 0.0 — MIT —
View on GitHub
Context7
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 — — —
funeralzone/valueobjects 0.86 PHP 7.1+ value object toolkit for fundamental scalar-based VOs. Provides traits for strings/ints/etc, enums via constants, easy native serialization (fromNative/toNative), and encourages domain validation logic. Includes extension library for complex objects. 66 66 7 44K 2 6.3 38.9 MIT 5 years ago
View on GitHub
boson-php/value-object-contracts 0.86 — 0 0 0 65 0 0.0 25.1 MIT —
View on GitHub
Context7
randock/value-object 0.85 A PHP library from Randock for defining immutable value objects, helping encapsulate domain primitives like IDs, emails, and money in reusable, type-safe classes with validation and Laravel-friendly integration. 1 — 0 — 0 0.0 — — 7 years ago
tdn/php-types 0.85 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
View on GitHub
dddominio/common 0.85 Common utilities for the DDDominio ecosystem: shared helpers, base classes, and cross-package abstractions to standardize behavior and reduce duplication across domain-driven Laravel/PHP packages. 0 0 0 0 0 0.0 — MIT —
View on GitHub
Context7
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
View on GitHub
michael-rubel/laravel-value-objects 0.85 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 159 1 2.2 3.8 MIT 1 year ago
View on GitHub
apie/text-value-objects 0.85 — 0 0 0 15 0 0.0 16.6 MIT —
View on GitHub
micro-module/value-object 0.84 Immutable, self-validating value objects for PHP and Laravel. Wrap primitives like emails, IDs, and money in typed classes that guard their own invariants, so invalid values can't exist and domain logic stays clean, testable, and free of scattered validation checks. 1 1 1 127 0 0.0 25.0 — 1 year ago
View on GitHub
bruli/php-value-objects 0.84 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 —
View on GitHub
andydefer/domain-structures 0.84 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
coder-at-heart/object-models 0.84 — 5 6 0 1 0 0.0 0.9 MIT —
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource