PHPackages                             phpolar/model - 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. phpolar/model

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

phpolar/model
=============

Provides support for configuring the properties of an object for validation, formatting, and storage.

2.2.1(6mo ago)11.2k4MITPHPPHP &gt;=8.3CI passing

Since Jun 13Pushed 6mo agoCompare

[ Source](https://github.com/phpolar/model)[ Packagist](https://packagist.org/packages/phpolar/model)[ RSS](/packages/phpolar-model/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (10)Versions (22)Used By (4)

 [![phpolar logo](./phpolar.svg)](./phpolar.svg)

PHPolar Model
=============

[](#phpolar-model)

Provides support for configuring the properties of an object for validation, formatting, and storage
----------------------------------------------------------------------------------------------------

[](#provides-support-for-configuring-the-properties-of-an-object-for-validation-formatting-and-storage)

[![Coverage Status](https://camo.githubusercontent.com/c980b49cbfff7e8a6ce67ab6bc55aa909dbcec9e993f9d0500be53f4ab337623/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068706f6c61722f6d6f64656c2f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/repos/github/phpolar/model/badge.svg?branch=main) [![Latest Stable Version](https://camo.githubusercontent.com/930b96a1a7f6a1afb737ea6258d104f3a3b43fb32ef30a8fa2c13441cc2ee256/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f6d6f64656c2f76)](https://packagist.org/packages/phpolar/model) [![Total Downloads](https://camo.githubusercontent.com/6b83f08de49493191b42a86f81f3cbb58a2a5889de16bdd65da84a68fd1b60da/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f6d6f64656c2f646f776e6c6f616473)](https://packagist.org/packages/phpolar/model) [![PHP Version Require](https://camo.githubusercontent.com/345d9d1a39982591f8c2eee081c675eee3e5704952060a780e4a5e5191260972/68747470733a2f2f706f7365722e707567782e6f72672f7068706f6c61722f6d6f64656c2f726571756972652f706870)](https://packagist.org/packages/phpolar/model)

### Example 1

[](#example-1)

```
DOCTYPE html>
