PHPackages                             brightnucleus/values - 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. brightnucleus/values

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

brightnucleus/values
====================

Validatable, sanitizable and escapable value objects.

v0.2.0(8y ago)22231MITPHP

Since Feb 7Pushed 8y ago2 watchersCompare

[ Source](https://github.com/brightnucleus/values)[ Packagist](https://packagist.org/packages/brightnucleus/values)[ RSS](/packages/brightnucleus-values/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (4)Used By (1)

Bright Nucleus Values
=====================

[](#bright-nucleus-values)

[![Latest Stable Version](https://camo.githubusercontent.com/70d05c86dfecfe98ffc35594fef6791990a327fc7ef5cf38defdfeecdfdf6746/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6272696768746e75636c6575732f76616c7565732e737667)](https://packagist.org/packages/brightnucleus/values)[![Total Downloads](https://camo.githubusercontent.com/85f3a9966657cdeb3ecd615e2f79e08d1776fc5e3825703dde19995edc98ee35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6272696768746e75636c6575732f76616c7565732e737667)](https://packagist.org/packages/brightnucleus/values)[![Latest Unstable Version](https://camo.githubusercontent.com/341c6254e335ad1fb992952e3f6c294a435dfe87b98af0177bcfcd76a50c6a65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f6272696768746e75636c6575732f76616c7565732e737667)](https://packagist.org/packages/brightnucleus/values)[![License](https://camo.githubusercontent.com/2e68a8b02590a1f2fed2198f8f13d4873cfce168243451d398529e0e07f29462/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6272696768746e75636c6575732f76616c7565732e737667)](https://packagist.org/packages/brightnucleus/values)

Validatable, sanitizable and escapable value objects. (WIP)

Table Of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Basic Usage](#basic-usage)
- [Advanced Usage](#advanced-usage)
- [Contributing](#contributing)
- [License](#license)

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

[](#installation)

The best way to use this package is through Composer:

```
composer require brightnucleus/values
```

Basic Usage
-----------

[](#basic-usage)

> TODO

Advanced Usage
--------------

[](#advanced-usage)

> TODO

Contributing
------------

[](#contributing)

All feedback / bug reports / pull requests are welcome.

License
-------

[](#license)

Copyright (c) 2017 Alain Schlesser, Bright Nucleus

This code is licensed under the [MIT License](LICENSE).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~74 days

Total

3

Last Release

3236d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dde7f578e5530884238e7173f768ae3a890b6d66eb99262a82f2c494a1b67d4?d=identicon)[schlessera](/maintainers/schlessera)

---

Top Contributors

[![schlessera](https://avatars.githubusercontent.com/u/83631?v=4)](https://github.com/schlessera "schlessera (6 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brightnucleus-values/health.svg)

```
[![Health](https://phpackages.com/badges/brightnucleus-values/health.svg)](https://phpackages.com/packages/brightnucleus-values)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[galahad/laravel-addressing

Laravel package providing addressing functionality

70316.6k](/packages/galahad-laravel-addressing)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
