PHPackages                             dzentota/respected-typedvalue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. dzentota/respected-typedvalue

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

dzentota/respected-typedvalue
=============================

A PHP 7.4 typed values (value objects) helper library.

013PHP

Since Jul 6Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/dzentota/respected-typedvalue)[ Packagist](https://packagist.org/packages/dzentota/respected-typedvalue)[ RSS](/packages/dzentota-respected-typedvalue/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Respected TypedValue
====================

[](#respected-typedvalue)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/838199cb2b022183f6983b85870a3cea809f90643cf0cde861b10b28a6a3c62e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545372e34253230253743253230253545382e302d626c75652e737667)](https://php.net/)

A PHP library for creating typed values (Value Objects) with integrated validation via [Respect\\Validation](https://respect-validation.readthedocs.io/). Built according to the principles of the [Application Security Manifesto](https://github.com/dzentota/AppSecManifesto) to ensure secure data processing.

Features
--------

[](#features)

- 🔒 **Secure Validation** - Integration with Respect\\Validation for reliable data verification
- 🎯 **Typed Values** - Create Value Objects with automatic validation
- 📋 **Detailed Reporting** - Get comprehensive error information from validation
- 🔄 **Flexible Architecture** - Support for simple and composite data types
- 🛡️ **Fail-fast Principle** - Immediate failure on invalid data

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- [dzentota/typedvalue](https://github.com/dzentota/TypedValue) - base typed values library
- [respect/validation](https://respect-validation.readthedocs.io/) - validation library

Installation
------------

[](#installation)

```
composer require dzentota/respected-typedvalue
```

Quick Start
-----------

[](#quick-start)

### Simple Example

[](#simple-example)

```
