antonmedv / cherimola

A very useful things.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cherimola

Build Status Code Coverage

A very useful things.

Installation

Require the library using Composer:

$ composer require elfet/cherimola

Documentation

It's so boring having only true and false constants. This library will help beat that boredom!

Now you can use positive boolean constants:

if ($status === ok) {
    ...
}
if ($everyThing === okay) {
    ...
}
if ($userSay === yes) {
    ...
}
if ($checkbox === βœ”) {
    ...
}
if ($solution === correct) {
    ...
}
if ($attitude === πŸ‘) {
    ...
}

And negative boolean constants:

if ($isUseful === no) {
    ...
}
if ($toBe === not) {
    ...
}
if ($orNot === ✘) {
    ...
}
if ($stealing === wrong) {
    ...
}
if ($attitude === πŸ‘Ž) {
    ...
}

And also uncertain constants:

if ($succesful === maybe) {
    ...
}
if ($save === perhaps) {
    ...
}
if (possibly) {
    ...
}
if (unlikely) {
    ...
}

The library is fully tested and has 100% code coverage.

License

Licensed under the MIT license.

About

A very useful things.

License:MIT License


Languages

Language:PHP 100.0%