Cherimola
, (*1)
A very useful things., (*2)
Installation
Require the library using Composer:, (*3)
$ composer require elfet/cherimola
Documentation
It's so boring having only true and false constants. This library will help beat that boredom!, (*4)
Now you can use positive boolean constants:, (*5)
if ($status === ok) {
...
}
if ($everyThing === okay) {
...
}
if ($userSay === yes) {
...
}
if ($checkbox === ✔) {
...
}
if ($solution === correct) {
...
}
if ($attitude === 👍) {
...
}
And negative boolean constants:, (*6)
if ($isUseful === no) {
...
}
if ($toBe === not) {
...
}
if ($orNot === ✘) {
...
}
if ($stealing === wrong) {
...
}
if ($attitude === 👎) {
...
}
And also uncertain constants:, (*7)
if ($succesful === maybe) {
...
}
if ($save === perhaps) {
...
}
if (possibly) {
...
}
if (unlikely) {
...
}
The library is fully tested and has 100% code coverage., (*8)
License
Licensed under the MIT license., (*9)