PHP Package: marc-mabe/php-enum
PHP library providing enum implementation for improved type safety in applications.
Package Description
PHP-Enum is a robust library offering enumeration support, enhancing application reliability and maintainability. Enumerations simplify codebase management, ensuring consistent and error-free data handling. By leveraging PHP-Enum, developers can streamline complex data structures and enforce type constraints effectively.
Download Latest Version: 4.7.2

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/marc-mabe/php-enum/4.7.2/loader.php';
use Marc\Mabe\Enum\Enum;
$obj = new Enum();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.