An open API service indexing awesome lists of open source software.

https://github.com/mdwheele/enum

An enumeration implementation for PHP.
https://github.com/mdwheele/enum

Last synced: about 1 year ago
JSON representation

An enumeration implementation for PHP.

Awesome Lists containing this project

README

          

# PHP Enum

[![Build Status](https://travis-ci.org/mdwheele/enum.png?branch=master)](https://travis-ci.org/mdwheele/enum)

Enum is an implementation of the enumeration data-type found in many languages. This particular implementation is modeled after Python's recent implementation of enumerations.

## Installation

Install through Composer.

```js
"require": {
"mdwheele/enum": "dev-master"
}
```

## Next Steps

* Add a static facade to create new Enum types similar to Python's functional API.