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: 4 months 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T09:56:19.000Z (almost 6 years ago)
- Last Synced: 2024-04-24T13:17:47.469Z (10 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 [](https://travis-ci.org/fatcode/enum) [](https://codeclimate.com/github/fatcode/enum/maintainability) [](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"
```