PHPackages                             phpzendo/php-comparison - 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. phpzendo/php-comparison

ActiveLibrary

phpzendo/php-comparison
=======================

The most awesome comparison engine created for php

v1.0.1(7y ago)06MITPHPPHP &gt;=7.1

Since Jun 4Pushed 7y agoCompare

[ Source](https://github.com/huliuqing/php-comparison)[ Packagist](https://packagist.org/packages/phpzendo/php-comparison)[ RSS](/packages/phpzendo-php-comparison/feed)WikiDiscussions master Synced 3d ago

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

[![Build Status](https://camo.githubusercontent.com/3cc71df653a5cd73738ac1c1b9de18081e3e3aa68474a821b3fdfbe8fe0fe934/68747470733a2f2f7472617669732d63692e6f72672f68756c697571696e672f7068702d636f6d70617269736f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/huliuqing/php-comparison/)

About PHP-COMPARISON
--------------------

[](#about-php-comparison)

The most awesome comparison engine created for php.

Features
--------

[](#features)

- Provide uniform empty method.
- Provide uniform isset method.
- Provide uniform is null method.
- Provide the functionality to compare PHP values for great than, less than, great than or equal and less than or equal check.
- Much more.

Requires
--------

[](#requires)

- PHP version 7.1+.
- sebastian/comparator component.
- florianwolters/component-core-comparable component.

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

[](#installation)

You can add this library as a local, per-project dependency to your project using Composer:

```
composer require phpzendo/php-comparison
```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev phpzendo/php-comparison
```

Usage
-----

[](#usage)

### Verify the given value is empty.

[](#verify-the-given-value-is-empty)

```
