PHPackages                             granam/integer-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. granam/integer-enum

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

granam/integer-enum
===================

Enumeration with integers only

1.2.0(5y ago)05999MITPHPPHP &gt;=7.3CI failing

Since Feb 13Pushed 4y agoCompare

[ Source](https://github.com/granam/integer-enum)[ Packagist](https://packagist.org/packages/granam/integer-enum)[ RSS](/packages/granam-integer-enum/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (7)Versions (12)Used By (9)

Enumeration with integers
=========================

[](#enumeration-with-integers)

Usage
-----

[](#usage)

1. [Use enum](#use-enum)
2. [NULL is NULL, not Enum](#null-is-null-enum-can-not-hold-it)
3. [Installation](#installation)

Use enum
--------

[](#use-enum)

```
