PHPackages                             hypnotox/abyss - 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. hypnotox/abyss

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

hypnotox/abyss
==============

A PHP package implementing array schema validation.

101PHP

Since May 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hypnotox/abyss)[ Packagist](https://packagist.org/packages/hypnotox/abyss)[ RSS](/packages/hypnotox-abyss/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

hypnotox/abyss
==============

[](#hypnotoxabyss)

[![CI Status](https://github.com/hypnotox/abyss/actions/workflows/ci.yml/badge.svg)](https://github.com/hypnotox/abyss)[![Code Coverage](https://camo.githubusercontent.com/77d9f2b8bb54fb629067985ebbc24d2b0f094302e8ba34c0715bcb7e4b05120f/68747470733a2f2f636f6465636f762e696f2f67682f6879706e6f746f782f61627973732f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/hypnotox/abyss)[![Packagist Version](https://camo.githubusercontent.com/ad7720d9fca764593c0cbdf11b32f30b21b0db0d2ff19b5ec0c30cbd0797ee2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6879706e6f746f782f6162797373)](https://packagist.org/packages/hypnotox/abyss)[![Packagist PHP Version Support](https://camo.githubusercontent.com/274eae31b3077ee41d8215a6f5901fd3641c829597d4467053df74b3a8615b73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6879706e6f746f782f6162797373)](https://packagist.org/packages/hypnotox/abyss)[![GitHub](https://camo.githubusercontent.com/f666a03b467c71629c5dc4bc18cc973310da23cb0be65e3dac129c25d40c4423/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6879706e6f746f782f6162797373)](/LICENSE.md)

A PHP package implementing array to object schema validation and mapping. *(The idea of this package has changed a bit and might change again in the future)*

### The package is currently not in any usable / stable state, but is in active development towards a target. It will be tagged as soon as base functionality is present and tested.

[](#the-package-is-currently-not-in-any-usable--stable-state-but-is-in-active-development-towards-a-target-it-will-be-tagged-as-soon-as-base-functionality-is-present-and-tested)

**This package is very experimental and can change very much pre version 1.0!**

This is just a personal project, but follows semantic versioning and will be stable once reaching its first major release.

PRs are welcome.

Target constraints
------------------

[](#target-constraints)

- Type constraint
    - Scalars
        - int, string, float, bool
    - Array (I'm currently unsure if `\Traversable` should be allowed)
        - list&lt;T&gt;
        - map&lt;K, T&gt;
    - Objects
        - instanceof T
- Value constraint
    - Scalar
        - Numeric
            - equal to / inside bounds
        - String
            - equal to
            - regex
        - Enum
    - Array
        - size equal to / inside bounds
        - nested array
- Object shape constraint
- Custom constraints

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

[](#installation)

Simply require it using composer: `composer require hypnotox/abyss`

Features
--------

[](#features)

// TODO

Usage
-----

[](#usage)

// TODO

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b5b9c61f4243d23e766c730ef4f2590d718befb32bcaf91cc18d14566d588c0?d=identicon)[hypnotox](/maintainers/hypnotox)

---

Top Contributors

[![hypnotox](https://avatars.githubusercontent.com/u/47070257?v=4)](https://github.com/hypnotox "hypnotox (21 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")

### Embed Badge

![Health badge](/badges/hypnotox-abyss/health.svg)

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

###  Alternatives

[webmozart/assert

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

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[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)[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)
