This package provides enum support for PHP, allowing for easy management and usage of enumerations.
You can install the package via Composer:
composer require wowpack/php-enumTo use the package, implement the Enumerable interface in your enum classes. Here is an example:
use Wowpack\Enumeration\Enumerable;
use Wowpack\Enumeration\InteractsWithEnum;
enum MyEnum implements Enumerable
{
use InteractsWithEnum;
// Implement the required methods...
}This package is licensed under the MIT License.