bradietilley/country-enums
Country enums for Laravel and PHP: replace loose strings and arrays with type-safe backed enums, with convenient access to country names and ISO codes for forms, validation, and storage.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nasyrov/laravel-enums | 0.82 | Laravel Enums adds first-class enumeration support: define typed enum classes, then use them as Eloquent casts, validation rules, and translatable labels. Helpers for values, options, and comparisons make model attributes and form choices safer and more expressive. | 32 | — | 9 | — | 0 | 0.7 | — | MIT | 5 years ago | |
| osama-98/laravel-enum-translatable | 0.81 | A Laravel package for adding translations to PHP enums. Define localized labels and descriptions for enum cases using Laravel’s translation system, making it easy to display human-readable enum values across multiple languages. | 55 | — | 2 | — | 0 | 16.8 | — | MIT | 2 months ago | |
| roundly-consulting/enums-for-laravel | 0.81 | Enums for Laravel brings first-class PHP enum support to Laravel applications. Cast enum attributes in Eloquent models, validate enum input, and work with backed values across requests and APIs. It keeps code type-safe, readable, and easy to integrate without extra boilerplate. | 5 | 0 | 0 | 3K | 0 | 18.9 | 43.7 | MIT | 3 weeks ago | |
| lwwcas/laravel-countries | 0.80 | Eloquent-first country database for Laravel. Every ISO 3166 Alpha-2, Alpha-3 and numeric code, international phone code, currency, SVG and emoji flag, GeoJSON border and translation is a native Eloquent relationship—one Country:: call away, with no external API needed. | 132 | 133 | 39 | 5K | 3 | 23.8 | 24.7 | MIT | 3 months ago | |
| brokeyourbike/country-casts-laravel | 0.80 | Laravel Eloquent casts for country codes, converting attributes to and from country value objects or enums automatically. Keep ISO country data typed and validated in your models with minimal boilerplate. | 0 | 0 | 0 | 15 | 0 | 0.4 | 16.6 | MPL-2.0 | 3 years ago | |
| laravel-lang/native-country-names | 0.80 | Laravel package providing country names in their native languages for localized UIs and forms. Part of the Laravel Lang ecosystem, install via Composer and use alongside your app’s localization setup. MIT licensed. | 7 | 7 | 2 | 539K | 0 | 15.1 | 60.8 | MIT | 7 months ago | |
| mad-web/laravel-enum | 0.79 | A Laravel package that provides a lightweight enum implementation with model attribute casting, validation rules, translations, and helper methods for working with predefined values throughout your application. | 0 | 110 | — | 6 | — | 0.0 | 11.7 | — | — | |
| drnd-dev/laravel-countries | 0.79 | — | 0 | 0 | 0 | 55 | 0 | 9.8 | 26.1 | MIT | 6 months ago | |
| datomatic/laravel-enum-helper | 0.79 | Laravel Enum Helper adds handy methods to PHP enums: flag support, attribute casting, validation rules, labels, translations, select arrays, and comparison helpers, making it easy to use backed enums cleanly across your Laravel models, forms, and requests. | 35 | — | 4 | — | 0 | 7.9 | — | MIT | 7 months ago |
|
| bensampo/laravel-enum | 0.79 | Laravel Enum provides a powerful enum implementation for Laravel with class-constant definitions, instantiation, casting, validation, localization, bitwise/flag enums, and an artisan generator. Not recommended for new projects—use native PHP 8.1 enums. | 2,028 | 2,042 | 157 | 502K | 1 | 15.0 | 33.1 | MIT | — | |
| yayann/laravel-countries | 0.79 | — | 1 | 2 | 0 | 0 | 0 | 0.6 | — | MIT | 11 years ago | |
| isap-ou/laravel-enum-helpers | 0.78 | Laravel Enum Helpers provides convenient utilities for working with PHP enums in Laravel applications, including human-readable labels, option arrays for forms, validation support, and conversion helpers that keep enum-backed APIs and Blade views consistent. Reduce repetitive enum logic and simplify... | 6 | — | 2 | — | 0 | 20.2 | — | — | 1 week ago | |
| webpatser/laravel-countries | 0.78 | Laravel Countries gives you complete data for all 249 countries: common and official names, flag emojis, currencies, and regional groupings. Includes search and filtering, Laravel validation rules, collection macros, and Eloquent model support. Install via Composer and run countries:install. | 853 | 872 | 225 | 62K | 0 | 29.1 | 29.8 | MIT | 1 month ago | |
| laravel-liberu/enums | 0.78 | Laravel Liberu Enums offers a structured enum layer for Laravel applications, with typed values, validation, casting, and helper methods that keep domain models cleaner and ensure consistent, reusable constants across your codebase. | 0 | 0 | 0 | 47 | 0 | 0.3 | 23.2 | MIT | 3 years ago | |
| nakanakaii/countries | 0.78 | Laravel package that ships a ready-to-use list of countries, states and cities. Seed your database, populate form selects, and look up details like ISO codes, phone prefixes and currencies—all locally, with no external API calls or manual data entry required. | 7 | — | 1 | — | 0 | 1.7 | — | MIT | 11 months ago |
|
| arthurydalgo/laravel-iso-countries | 0.78 | Laravel package (fork) providing ISO 3166 countries, ISO 639 languages, and ISO 4217 currencies via ready-to-use models backed by a bundled SQLite database. Includes localized names and relationships (countries↔languages/currencies). Supports Laravel 11/12, PHP 8+. | 0 | 0 | 1 | 3K | 0 | 0.1 | 48.6 | MIT | — | |
| peltonsolutions/laravel-enums | 0.78 | A Laravel package for working with PHP enums, offering convenient helpers and framework integration for defining, validating, casting, and using enum values across models, requests, and application code. | 1 | 2 | 0 | 0 | 0 | 0.4 | 0.5 | MIT | 2 years ago | |
| anomaly/country-field_type | 0.78 | Country field type for the Anomaly Streams platform, adding a searchable country selector to Laravel-powered forms and entries. Store standardized country values for consistent display, filtering, and localization across CMS content, admin interfaces, and API-driven workflows. | 0 | 0 | 8 | 261 | 0 | 0.2 | 33.4 | MIT | — | |
| sakanjo/laravel-easy-enum | 0.78 | Simplify PHP enums in Laravel with sakanjo/laravel-easy-enum. This lightweight package provides helpers for labels, values, options, validation rules, and Eloquent/Blade integration, reducing boilerplate and keeping enum-driven code clean and readable. | 10 | — | 0 | — | 0 | 12.4 | — | MIT | 5 months ago | |
| open-southeners/extended-php | 0.78 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 286 | 0 | 7.2 | 34.0 | MIT | 1 year ago |
How can I help you explore Laravel packages today?