Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/legacy-fatcode/enum
Blazing fast enumeration library
https://github.com/legacy-fatcode/enum
Last synced: about 1 month ago
JSON representation
Blazing fast enumeration library
- Host: GitHub
- URL: https://github.com/legacy-fatcode/enum
- Owner: legacy-fatcode
- License: mit
- Created: 2019-03-14T19:23:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T09:56:19.000Z (over 5 years ago)
- Last Synced: 2024-04-24T13:17:47.469Z (8 months ago)
- Language: PHP
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - enum - Blazing fast enumeration library (PHP)
README
# Enum [![Build Status](https://travis-ci.org/fatcode/enum.svg?branch=master)](https://travis-ci.org/fatcode/enum) [![Maintainability](https://api.codeclimate.com/v1/badges/a3ad92200e13a6219750/maintainability)](https://codeclimate.com/github/fatcode/enum/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a3ad92200e13a6219750/test_coverage)](https://codeclimate.com/github/fatcode/enum/test_coverage)
Enumeration library for connoisseurs.## Installation
`composer install fatcode/enum`## Enum declaration
```php
getValue(); // "red"
$red->getKey();// "RED"
```