PHPackages                             opis/utils - 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. opis/utils

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

opis/utils
==========

A collection of useful classes that deals with UTF-8 strings, URLs, punycode, form validation and more

2.2.3(9y ago)64981[1 issues](https://github.com/opis/utils/issues)Apache-2.0PHPPHP &gt;=5.3.0

Since Jul 30Pushed 5y ago2 watchersCompare

[ Source](https://github.com/opis/utils)[ Packagist](https://packagist.org/packages/opis/utils)[ Docs](http://opis.io)[ RSS](/packages/opis-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (12)Used By (0)

Opis Utils
==========

[](#opis-utils)

[![Build Status](https://camo.githubusercontent.com/356d4c2abb83ccad82d0571270a8ee9f19a9b378834c11cf1f30b4ed16ef2633/68747470733a2f2f7472617669732d63692e6f72672f6f7069732f7574696c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/opis/utils)[![Latest Stable Version](https://camo.githubusercontent.com/eb7fcf9d9818c1ad5ab7a7514ee4a19c08cefb136bed31fde12209432ce03a39/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f7574696c732f76657273696f6e2e706e67)](https://packagist.org/packages/opis/utils)[![Latest Unstable Version](https://camo.githubusercontent.com/10e76cd077436ef8eea2df6dd72f4553de224bb36aa9e9081159981a81b6408b/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f7574696c732f762f756e737461626c652e706e67)](//packagist.org/packages/opis/utils)[![License](https://camo.githubusercontent.com/985c8a3a3b0076391f7fb1aee135fe8999dd4d2abbe416bfa1564991e5cdd167/68747470733a2f2f706f7365722e707567782e6f72672f6f7069732f7574696c732f6c6963656e73652e706e67)](https://packagist.org/packages/opis/utils)

Utilitary classes
-----------------

[](#utilitary-classes)

**Opis Utils** is a collection of useful classes that will help you with UTF 8 strings, URLs, form validators, autoloading, versions and others.

### License

[](#license)

**Opis Utils** is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).

### Requirements

[](#requirements)

- PHP 5.3.\* or higher

### Installation

[](#installation)

This library is available on [Packagist](https://packagist.org/packages/opis/utils) and can be installed using [Composer](http://getcomposer.org).

```
{
    "require": {
        "opis/utils": "^2.2.0"
    }
}
```

If you are unable to use [Composer](http://getcomposer.org) you can download the [tar.gz](https://github.com/opis/utils/archive/2.2.0.tar.gz) or the [zip](https://github.com/opis/utils/archive/2.2.0.zip)archive file, extract the content of the archive and include de `autoload.php` file into your project.

```
require_once 'path/to/utils-2.2.0/autoload.php';
```

### Documentation

[](#documentation)

Examples and documentation can be found at .

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~198 days

Recently: every ~425 days

Total

11

Last Release

1963d ago

Major Versions

1.1.0 → 2.0.02015-12-20

2.x-dev → 2020.x-dev2021-01-01

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2020.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/47afaf3c711dd321c8d09bae2afed928971ec9e9a7593c925749696f04d2fddd?d=identicon)[msarca](/maintainers/msarca)

![](https://www.gravatar.com/avatar/7c720b40eb280d9fd33cc35d74c34b3763c2777bd2502d094625faa367f0dca4?d=identicon)[sorinsarca](/maintainers/sorinsarca)

---

Top Contributors

[![msarca](https://avatars.githubusercontent.com/u/5808737?v=4)](https://github.com/msarca "msarca (55 commits)")

---

Tags

urlvalidatorutf8punycodeform validationutf8 string

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opis-utils/health.svg)

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

###  Alternatives

[respect/validation

The most awesome validation engine ever created for PHP

5.9k37.4M383](/packages/respect-validation)[seld/jsonlint

JSON Linter

1.3k217.8M205](/packages/seld-jsonlint)[composer/spdx-licenses

SPDX licenses list and validation library.

1.4k184.2M25](/packages/composer-spdx-licenses)[opis/json-schema

Json Schema Validator for PHP

64736.9M186](/packages/opis-json-schema)[laminas/laminas-validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria

15644.9M188](/packages/laminas-laminas-validator)[ergebnis/json-schema-validator

Provides a JSON schema validator, building on top of justinrainbow/json-schema.

3626.9M7](/packages/ergebnis-json-schema-validator)

PHPackages © 2026

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