Download the PHP package try-again-later/multi-backed-enum without Composer
On this page you can find all versions of the php package try-again-later/multi-backed-enum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download try-again-later/multi-backed-enum
More information about try-again-later/multi-backed-enum
Files in try-again-later/multi-backed-enum
Download try-again-later/multi-backed-enum
More information about try-again-later/multi-backed-enum
Files in try-again-later/multi-backed-enum
Vendor try-again-later
Package multi-backed-enum
Short Description A small PHP library for creating enums with cases backed by multiple values.
License MIT
Package multi-backed-enum
Short Description A small PHP library for creating enums with cases backed by multiple values.
License MIT
Please rate this library. Is it a good library?
Informations about the package multi-backed-enum
Multi-backed enum
Just a proof of concept and me playing around with PHP 8 attributes.
A small PHP library for creating enums with cases backed by multiple values. Useful when you have a bunch of "backing" values (strings or numbers) all of which identify the same thing.
The interface mimics PHP 8.1.0 backed enums with an addition of method allValues()
, which returns
a list of all "backing" values.
Installation
Via composer:
Example
All versions of multi-backed-enum with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1.0
The package try-again-later/multi-backed-enum contains the following files
Loading the files please wait ....