brokeyourbike/country-casts-laravel
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| brokeyourbike/enum-casts-laravel | 0.87 | A Laravel package that adds convenient Eloquent enum casts, letting you store and retrieve PHP enum values on model attributes with minimal boilerplate. Simplifies working with backed enums in database columns and keeps model code clean. | 0 | — | 0 | — | 0 | 0.4 | — | MPL-2.0 | 3 years ago | |
| brokeyourbike/money-casts-laravel | 0.86 | Laravel Eloquent casts for monetary values that convert database amounts into Money objects and back, keeping currency handling clean and consistent across your models. | 1 | — | 1 | — | 0 | 0.1 | — | MPL-2.0 | 3 years ago | |
| io238/laravel-iso-countries | 0.86 | — | 56 | 56 | 14 | 9K | 3 | 12.8 | 32.8 | MIT | 7 months ago | |
| genealabs/laravel-casts | 0.83 | GeneaLabs Laravel Casts adds flexible custom attribute casting to Eloquent models, making it easy to map database columns to value objects, DTOs, and other PHP classes. Keeps model code clean and cast logic reusable, testable, and simple to configure. | 109 | 95 | 11 | 8K | 0 | 0.8 | 18.9 | MIT | 2 years ago | |
| vicgutt/laravel-auto-model-cast | 0.83 | Automatically casts Laravel Eloquent model attributes based on their database column types, so you can skip manually maintaining $casts arrays. Keeps models tidy and casts in sync with your schema. | 7 | — | 0 | — | 0 | 0.0 | — | MIT | 3 years ago | |
| vkovic/laravel-custom-casts | 0.83 | vkovic/laravel-custom-casts provides reusable, class-based custom attribute casts for Laravel Eloquent models, keeping get/set and serialization logic organized, testable, and out of your models—ideal for value objects, arrays, and other complex attribute transformations. | 217 | 217 | 20 | 2K | 2 | 2.4 | 14.9 | MIT | 5 years ago | |
| woodsandwalker/laravel-countries | 0.82 | Laravel Countries makes it easy to add country data to Laravel apps with migrations, Eloquent models, and helpers for querying countries by name or ISO code. Use it to populate select menus, validate country input, and build location-aware features without maintaining your own country list. | 10 | — | 3 | — | 0 | 0.4 | — | MIT | 1 year ago | |
| renoki-co/laravel-useful-casts | 0.82 | renoki-co/laravel-useful-casts provides a collection of handy custom Eloquent casts for Laravel models, reducing boilerplate when converting database attributes into common PHP types and objects. Drop-in casts keep model code cleaner and more expressive. | 11 | — | 1 | — | 0 | 0.5 | — | Apache-2.0 | 3 years ago | |
| std-out/simple-data-objects | 0.82 | Lightweight, attribute-driven DTOs for PHP 8.4+ with zero runtime reflection and compiled per-class closures for fast hydration and serialization. Works standalone or in Laravel 12–13. | 35 | 35 | 0 | 220 | 0 | 27.2 | 13.7 | MIT | 3 weeks ago | |
| petrknap/eloquent | 0.81 | A collection of enhancements and helper classes for Laravel Eloquent: UTC/local datetime casts, Optional wrappers that delegate missing-model handling, and repositories that provide a clean, expressive interface for persistence logic. | 0 | 0 | 0 | 374 | 0 | 22.6 | 41.7 | LGPL-3.0 | 1 week ago | |
| snoeren-development/laravel-currency-casting | 0.81 | Laravel Currency Casting provides an Eloquent cast that stores monetary values as integers and exposes them as currency-aware objects, so you can format, convert, and calculate prices cleanly across your models without scattering money-handling logic throughout your application. | 5 | — | 4 | — | 0 | 9.0 | — | MIT | 7 months ago | |
| genealabs/laravel-two-way-attribute-casting | 0.81 | A Laravel package that enables two-way attribute casting on Eloquent models, letting you transform values both when reading from and writing to the database with custom cast classes. Useful for encapsulating conversion logic in one place for cleaner, reusable model code. | 1 | 1 | 0 | 0 | 0 | 0.2 | — | — | 8 years ago | |
| lwwcas/laravel-countries | 0.81 | 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 | |
| squareetlabs/laravel-toon | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.8 | — | — | 11 months ago | |
| maknz/slack | 0.80 | — | 1,159 | 1,181 | 205 | 98K | 21 | 23.2 | 36.4 | BSD-2-Clause | 11 years ago | |
| andreagroferreira/laravel-sync-tracker | 0.80 | Track and audit Eloquent model syncs with external systems (CRMs/ERPs/APIs). Store external IDs per source, sync status, timestamps, and metadata, and quickly find local models by external IDs—configurable for multiple integrations. | 12 | 12 | 1 | 274 | 0 | 0.5 | 18.6 | MIT | 1 year ago | |
| nagy/laravel-rating | 0.80 | Add ratings to any Eloquent model in Laravel with a simple trait and API. Let users rate items, then retrieve average, sum, and individual ratings. Useful for likes, scores, reviews, or star-style feedback, with flexible rating values and relationships. | 216 | 216 | 44 | 523 | 4 | 3.5 | 8.5 | MIT | 5 years ago | |
| rawilk/laravel-stubs | 0.80 | Opinionated Laravel stubs with strict types, fewer docblocks, unguarded models, controllers without a base class, migrations without down methods, and added return type hints. Publish via artisan and optionally keep stubs updated via composer hooks. | 1 | 1 | 0 | 45 | 0 | 14.9 | 20.8 | MIT | 5 months ago | |
| joelbutcher/laravel-archivable | 0.80 | Add archiving to Laravel Eloquent models like SoftDeletes. Includes migration macros for archived_at, model trait, and query builder scopes/macros to archive/unarchive records and filter archived vs active results in fluent chains. | 127 | 128 | 24 | 26K | 1 | 23.9 | 37.1 | MIT | 3 weeks ago | |
| victorybiz/laravel-simple-select | 0.80 | — | 137 | 137 | 18 | 143 | 8 | 8.8 | 7.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?