Download the PHP package mesour/enum without Composer
On this page you can find all versions of the php package mesour/enum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor mesour
Package enum
Short Description Mesour enum.
License MIT
Homepage https://github.com/mesour/enum
Package enum
Short Description Mesour enum.
License MIT
Homepage https://github.com/mesour/enum
Keywords enum
Please rate this library. Is it a good library?
Informations about the package enum
mesour/enum
The main advantages of using enums for representing set of values are:
- you can be sure, that the value is unchanged (not only validated once)
- you can use type hints to check that only the defined set of values is acceptable
- you can define behavior on top of the represented values
- you can define properties for enum values
Requirements
Library mesour/enum requires PHP 7.1 or higher.
Installation
The best way to install mesour/enum is using Composer.
- Run command
composer require mesour/enum
.
Documentation
Learn more in the documentation.
How to run tests
- Run command
vendor/bin/tester -c tests/php.ini tests
.
All versions of enum with dependencies
PHP Build Version
Package Version
The package mesour/enum contains the following files
Loading the files please wait ....