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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?