Cherimola

非常实用的东西。「A very useful things. 」

  • Owner: antonmedv/cherimola
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
    php
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerantonmedv/cherimola
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-02-25 12:54:56
Pushed At2015-10-06 08:43:06
Last Commit At2015-10-06 15:43:05
Release Count3
Last Release Namev3.0.0 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count109
Watchers Count6
Fork Count5
Commits Count30
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count7
Pull Requests Open Count0
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private