{"id":16919343,"url":"https://github.com/antonmedv/cherimola","last_synced_at":"2025-03-17T07:31:23.806Z","repository":{"id":27823701,"uuid":"31313397","full_name":"antonmedv/cherimola","owner":"antonmedv","description":"A very useful things. ","archived":false,"fork":false,"pushed_at":"2015-10-06T08:43:06.000Z","size":207,"stargazers_count":109,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-27T19:57:53.027Z","etag":null,"topics":["php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonmedv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-25T12:54:56.000Z","updated_at":"2024-08-26T22:51:34.000Z","dependencies_parsed_at":"2022-07-12T18:23:34.810Z","dependency_job_id":null,"html_url":"https://github.com/antonmedv/cherimola","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Fcherimola","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Fcherimola/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Fcherimola/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonmedv%2Fcherimola/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonmedv","download_url":"https://codeload.github.com/antonmedv/cherimola/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852429,"owners_count":20358267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php"],"created_at":"2024-10-13T19:44:07.588Z","updated_at":"2025-03-17T07:31:23.064Z","avatar_url":"https://github.com/antonmedv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cherimola\n\n[![Build Status](https://travis-ci.org/elfet/cherimola.svg?branch=master)](https://travis-ci.org/elfet/cherimola)\n[![Code Coverage](https://scrutinizer-ci.com/g/elfet/cherimola/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/elfet/cherimola/?branch=master)\n\n\u003e A very useful things. \n\n# Installation\n\nRequire the library using [Composer](https://getcomposer.org):\n\n```bash\n$ composer require elfet/cherimola\n```\n\n# Documentation\n\nIt's so boring having only `true` and `false` constants. This library will help beat that boredom!\n\nNow you can use positive boolean constants:\n\n```php\nif ($status === ok) {\n    ...\n}\n```\n\n```php\nif ($everyThing === okay) {\n    ...\n}\n```\n\n```php\nif ($userSay === yes) {\n    ...\n}\n```\n\n```php\nif ($checkbox === ✔) {\n    ...\n}\n```\n\n```php\nif ($solution === correct) {\n    ...\n}\n```\n\n```php\nif ($attitude === 👍) {\n    ...\n}\n```\n\nAnd negative boolean constants:\n\n```php\nif ($isUseful === no) {\n    ...\n}\n```\n\n```php\nif ($toBe === not) {\n    ...\n}\n```\n\n```php\nif ($orNot === ✘) {\n    ...\n}\n```\n\n```php\nif ($stealing === wrong) {\n    ...\n}\n```\n\n```php\nif ($attitude === 👎) {\n    ...\n}\n```\n\nAnd also uncertain constants:\n\n```php\nif ($succesful === maybe) {\n    ...\n}\n```\n\n```php\nif ($save === perhaps) {\n    ...\n}\n```\n\n```php\nif (possibly) {\n    ...\n}\n```\n\n```php\nif (unlikely) {\n    ...\n}\n```\n\nThe library is fully tested and has 100% code coverage.\n\n# License\n\nLicensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonmedv%2Fcherimola","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonmedv%2Fcherimola","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonmedv%2Fcherimola/lists"}