Libraries tagged by native enum
n2n/n2n-util-serialize
557 Downloads
Safely serialize and unserialize plain data objects (PHP native serialize()/unserialize() with an allowed_classes allowlist derived from the class structure) and scalar/null values (JSON), preventing object-injection and POP-chain attacks.
tkaratug/powered-enum
98 Downloads
Some cool add-ons to PHP native enums.
tezmanian/utils-enum
6 Downloads
A collection of PHP traits that supercharge native enums with comparison, bit-flag, stepping, collection, and translation helpers — zero dependencies, PHP 8.3+.
pharaonic/php-smart-enum
26 Downloads
Smart, lightweight helpers for native PHP enums.
mohamedbakr57/localized-enum
58 Downloads
A simple and lightweight Laravel package that adds localized labels to native PHP enums using Laravel's translation system. Ideal for multi-language applications.
skinka/type-enum
2027 Downloads
Simple and fast implementation of enumerations with native PHP 5.4 and upper
soylentgreenstudio/laravel-enum-states
7 Downloads
A state machine library for Laravel using native PHP 8.1 Backed Enums as the single source of truth.
philiprehberger/php-enum-utils
69 Downloads
Utility trait and helpers for PHP 8.1+ native enums
joseftraxler/laravel-enum-translator
21 Downloads
Lightweight Laravel helper for translating native PHP enums using attributes, Laravel translator, or human-readable fallback.
evgenij-vy/enum-extender
3 Downloads
Extend native php enums
cline/enums
2991 Downloads
A collection of enum helpers for PHP that enhance native PHP enums with powerful features and utilities.
lara-igniter/enum
13 Downloads
Minimal Enum to replace native PHP 8 enums
enmielado/super-dropdown
18 Downloads
A custom field for the Craft CMS for building multiple and hierarchical dropdown fields from native elements or data.
annexare/countries-list
305183 Downloads
Continents & countries: ISO 3166-1 alpha-2 code, name, ISO 639-1 languages, capital, ISO 4217 currencies (symbols & numeric codes), native name, phone. JSON, CSV and SQL.
rmunate/spell-number
279086 Downloads
Easily convert numbers to letters, this library supports the native PHP INTL extension with which we can easily convert numbers to letters. This library provides us with the possibility of converting only to numbers or to currency formats depending on the language to be used, this package has support in the languages en: English, es: Spanish, pt: Portuguese, fr: French, it: Italian, ro: Romanian, fa: Farsi, hi: Hindi, pl: Polish.