wowpack/php-enum

There is no license information available for the latest version (v1.0.0) of this package.

Enum support for PHP

v1.0.0 2025-03-28 10:05 UTC

This package is auto-updated.

Last update: 2025-04-28 10:27:46 UTC


README

Description

This package provides enum support for PHP, allowing for easy management and usage of enumerations.

Installation

You can install the package via Composer:

composer require wowpack/php-enum

Usage

To 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...
}

License

This package is licensed under the MIT License.