Cherimola

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

  • 所有者: antonmedv/cherimola
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
    php
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者antonmedv/cherimola
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2015-02-25 12:54:56
推送於2015-10-06 08:43:06
最后一次提交2015-10-06 15:43:05
發布數3
最新版本名稱v3.0.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數109
關注者數6
派生數5
提交數30
已啟用問題?
問題數0
打開的問題數0
拉請求數7
打開的拉請求數0
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?