An open API service indexing awesome lists of open source software.

https://github.com/antonmedv/cherimola

A very useful things.
https://github.com/antonmedv/cherimola

php

Last synced: about 1 year ago
JSON representation

A very useful things.

Awesome Lists containing this project

README

          

# Cherimola

[![Build Status](https://travis-ci.org/elfet/cherimola.svg?branch=master)](https://travis-ci.org/elfet/cherimola)
[![Code Coverage](https://scrutinizer-ci.com/g/elfet/cherimola/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/elfet/cherimola/?branch=master)

> A very useful things.

# Installation

Require the library using [Composer](https://getcomposer.org):

```bash
$ 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:

```php
if ($status === ok) {
...
}
```

```php
if ($everyThing === okay) {
...
}
```

```php
if ($userSay === yes) {
...
}
```

```php
if ($checkbox === ✔) {
...
}
```

```php
if ($solution === correct) {
...
}
```

```php
if ($attitude === 👍) {
...
}
```

And negative boolean constants:

```php
if ($isUseful === no) {
...
}
```

```php
if ($toBe === not) {
...
}
```

```php
if ($orNot === ✘) {
...
}
```

```php
if ($stealing === wrong) {
...
}
```

```php
if ($attitude === 👎) {
...
}
```

And also uncertain constants:

```php
if ($succesful === maybe) {
...
}
```

```php
if ($save === perhaps) {
...
}
```

```php
if (possibly) {
...
}
```

```php
if (unlikely) {
...
}
```

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

# License

Licensed under the [MIT license](LICENSE).