Libraries tagged by backedEnum
php-standard-library/locale
487098 Downloads
Backed enum with 700+ locale identifiers for type-safe internationalization
foxbytehq/laravel-backed-enums
3756 Downloads
Supercharge your PHP8 backed enums with superpowers like localization support and fluent comparison methods.
webfox/laravel-backed-enums
17991 Downloads
Supercharge your PHP8 backed enums with superpowers like localization support and fluent comparison methods.
ui-awesome/html-interop
70517 Downloads
Shared backed enums classifying HTML elements by category (block, inline, list, table, void, metadata, root) for the UI Awesome ecosystem.
osama-98/laravel-enum-translatable
3313 Downloads
A Laravel package that provides translatable enum functionality with easy-to-use methods for working with enum values and their translations
ui-awesome/html-attribute
62194 Downloads
Type-safe traits and backed enums for HTML attribute composition: global attributes, ARIA, data-*, events, and element-specific setters.
sinemacula/http-primitives-php
11167 Downloads
Standalone, framework-agnostic PHP 8.3+ package providing typed backed enums for HTTP protocol primitives with zero runtime dependencies.
schmeits/filament-4-phosphor-icons
3981 Downloads
Phosphor icons for Filament 4 and 5 as a backed enum that scales with Filament's icon sizes, in all six Phosphor weights.
pharaonic/php-smart-enum
1920 Downloads
Smart, lightweight helpers for native PHP enums.
dev-toolbelt/enums
2723 Downloads
A shared set of open-source enums for frequently used domains, helping reduce duplication and improve consistency across software projects.
kariricode/exception
4154 Downloads
Optional base classes for the exception families of kariricode/contract: one abstract base per family, error codes as int-backed enums inside registered blocks, and messages that are safe to log.
bensondevs/supercharged-enums
3400 Downloads
Supercharged backed enum helpers (find, options, comparisons) with no framework dependencies.
locr-company/http-status-code
3686 Downloads
A Backed Enumeration for HTTP StatusCodes
vkollin/doctrine-backed-enum-fields-bundle
26080 Downloads
Provides truly support for backed enums in doctrine by generating enum fields, not string fields.
fast-forward/enum
1605 Downloads
Ergonomic utilities for PHP enums, including names, values, lookups, and option maps.