PHPackages                             gnugat/ordono - 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. gnugat/ordono

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

gnugat/ordono
=============

Simple input validation

v1.0.0(11y ago)413MITPHPPHP &gt;=5.3.3

Since Aug 26Pushed 11y ago2 watchersCompare

[ Source](https://github.com/gnugat/ordono)[ Packagist](https://packagist.org/packages/gnugat/ordono)[ RSS](/packages/gnugat-ordono/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Ordono
======

[](#ordono)

Simple input validation.

You'll no longer have to do the following:

```
if (!isset($input['content'])) {
    throw new \RuntimeException('The required option "content" is missing.');
}
if (!is_string($input['content'])) {
    throw new \RuntimeException('The option "content" is expected to be of type "string"');
}
if (!isset($input['author'])) {
    throw new \RuntimeException('The required option "author" is missing.');
}
if (!is_string($input['author'])) {
    throw new \RuntimeException('The option "author" is expected to be of type "string"');
}
```

With Ordono, keep a clean validation:

```
use Gnugat\Ordono\CommandResolver;

$command = new CreateQuoteCommand(); // Definition of a valid input
$commandResolver = new CommandResolver();
// $commandResolver->addConverter(new Symfony2RequestConverter());
$commandResolver->resolve($command, $input); // Throws exceptions if something is wrong
```

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

[](#installation)

Use [Composer](https://getcomposer.org/) to install Ordono in your project:

```
composer require gnugat/ordono:~1.0

```

Further documentation
---------------------

[](#further-documentation)

You can see the current and past versions using one of the following:

- the `git tag` command
- the [releases page on Github](https://github.com/gnugat/ordono/releases)
- the file listing the [changes between versions](CHANGELOG.md)

You can find more documentation at the following links:

- [copyright and MIT license](LICENSE)
- [versioning and branching models](VERSIONING.md)
- [contribution instructions](CONTRIBUTING.md)
- [documentation directory](doc)

Next readings
-------------

[](#next-readings)

- [Introduction](./doc/01-introduction.md)
- [Usage](./doc/02-usage.md)
- [Reference](./doc/03-reference.md)
- [OptionsResolver](./doc/04-options-resolver.md)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4283d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34578c5e0a3bc10fb9ef6e3a3a0b3356d6cde1133c8fa0e090d0a99298df1f76?d=identicon)[gnupat](/maintainers/gnupat)

---

Top Contributors

[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (1 commits)")

---

Tags

validationoptionscommandinput

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gnugat-ordono/health.svg)

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

###  Alternatives

[opis/json-schema

Json Schema Validator for PHP

64236.9M186](/packages/opis-json-schema)[jschaedl/iban-validation

A small library for validating International BankAccount Numbers (IBANs).

1022.8M16](/packages/jschaedl-iban-validation)[awurth/slim-validation

A wrapper around the respect/validation PHP validation library for easier error handling and display

65378.4k9](/packages/awurth-slim-validation)[larapack/command-validation

Enable a method for Artisan Commands to validate the output of methods like `ask`.

133.8k](/packages/larapack-command-validation)[nilportugues/validator

An efficient data validator for PHP

131.5k](/packages/nilportugues-validator)

PHPackages © 2026

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