Download the PHP package donatorsky/enum without Composer
On this page you can find all versions of the php package donatorsky/enum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download donatorsky/enum
More information about donatorsky/enum
Files in donatorsky/enum
Download donatorsky/enum
More information about donatorsky/enum
Files in donatorsky/enum
Vendor donatorsky
Package enum
Short Description Enumeration library for a PHP 7.1+
License MIT
Homepage https://github.com/donatorsky/enum
Package enum
Short Description Enumeration library for a PHP 7.1+
License MIT
Homepage https://github.com/donatorsky/enum
Keywords enum
Please rate this library. Is it a good library?
Informations about the package enum
enum
Enumeration library for a PHP 7.1+
An enum type is useful when there is need to allow only one of limited set of values to be accepted. It also helps logically group them in one place.
Its interface is mostly based on java.lang.Enum, but implementation adds some more magic to it.
A basic usage:
Main difference with other implementations is that it is allowed for constants to have complex value:
All versions of enum with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package donatorsky/enum contains the following files
Loading the files please wait ....