PHPackages                             softbucket/enum - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. softbucket/enum

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

softbucket/enum
===============

PHP Enum

1.0.7(5y ago)07MITPHPPHP &gt;=5.6CI failing

Since Oct 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/softbucket/enum)[ Packagist](https://packagist.org/packages/softbucket/enum)[ Docs](http://github.com/softbucket/enum)[ RSS](/packages/softbucket-enum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (8)Used By (0)

Clean PHP Enum Implementation
=============================

[](#clean-php-enum-implementation)

Latest build status: [![CircleCI](https://camo.githubusercontent.com/5b9d1ba1e331ff94384412dcad74a72fb09c46e6b8cca145c315a1abc5dd1dd3/68747470733a2f2f636972636c6563692e636f6d2f67682f736f66746275636b65742f656e756d2e7376673f7374796c653d737667)](https://circleci.com/gh/softbucket/enum)
Github:
Packagist:

Feel free to support me :D

[![Donate](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://paypal.me/softbucket?locale.x=en_US)

What you're getting in this package
-----------------------------------

[](#what-youre-getting-in-this-package)

### 1. Simple

[](#1-simple)

The softbucket implementation does not require constants to be defined.

```
