Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Country Field Laravel Package

parfaitementweb/filament-country-field

A Filament form field for selecting countries. Adds a searchable country dropdown with flags, ISO codes, and localized names to your admin panels, making it quick and consistent to capture country data in Filament resources and forms.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for country selection UI: This is a narrow, well-bounded component (a Filament form field that renders a searchable country select, typically with flags and localized names). Building it in-house means owning the ISO 3166-1 list, name translations, flag assets, and Filament form-integration quirks — work with zero product differentiation. Default to buying/adopting.
  • Form-heavy roadmap items: Any feature involving addresses, billing/shipping, tax jurisdiction, KYC/onboarding, or market/region targeting gets a ready-made, consistent input. Treat this as an accelerator for those epics rather than a standalone initiative.
  • Platform upgrade planning: Release 2.5.6 adds Laravel 13 support. This unblocks keeping the package on the Laravel 13 upgrade path — a meaningful signal that the maintainer tracks framework releases, which lowers the "will this be abandoned mid-upgrade?" risk that usually argues against small single-maintainer packages.
  • Localization/internationalization commitments: If the roadmap includes launching in non-English locales, a package that ships translated country names reduces scope versus hand-maintaining a translation matrix.
  • Data-quality and compliance decisions: Constraining country input to a canonical list prevents free-text country values, which matters for tax calculation, shipping rules, sanctions screening, and analytics segmentation. This is a quiet correctness win, not a visible feature.
  • Scope discipline: Do not treat this as a geo/IP-lookup, phone-number-validation, or address-autocomplete solution. Those are separate decisions with separate vendors.

When to Consider This Package

Adopt when:

  • The stack is Filament on Laravel, and forms need a country input in more than one place (or will soon).
  • The team wants canonical country data and translations without owning the maintenance.
  • The Laravel version in use — including a planned Laravel 13 upgrade — is covered by the release line.
  • Requirements are satisfied by a select field: stored country code, display name, optional flag. Nothing more exotic.
  • Tolerable risk profile: a small, single-maintainer, MIT-licensed utility where the failure mode is cosmetic (a list needs refreshing) rather than business-critical.

Look elsewhere or build when:

  • Not on Filament. The value is the Filament field integration; on plain Blade/Livewire, use a lightweight country-list data package instead.
  • UI or data requirements exceed a select — searchable typeahead with fuzzy matching, dial codes, subdivisions/states, or per-country address format rules. Evaluate dedicated address/phone libraries.
  • Strict supply-chain or governance constraints — if dependencies require a named corporate maintainer, security review, or SLA, a single-maintainer package likely fails procurement regardless of quality.
  • Frequent, guaranteed update cadence is required for the country list itself (e.g., regulatory driven). Verify the data-refresh story before committing.
  • Only one country input exists and will ever exist — a hand-rolled enum plus a Blade select may be cheaper than a dependency, though usually not once translations are counted.

Watch items for adoption review: the release is mostly Dependabot bumps plus Laravel 13 support, so it is a compatibility release, not a feature release — no migration work expected, but confirm the pinned Filament major version in your app matches what 2.5.6 supports before upgrading.

How to Pitch It (Stakeholders)

For executives: This is a small, free, open-source component that gives our Filament admin and app forms a standard, translated country picker. It removes a recurring piece of undifferentiated build work from every address, billing, and onboarding form, and it makes country data consistent across the product — which matters for tax, shipping, and reporting accuracy. The latest release adds Laravel 13 support, which de-risks our upcoming framework upgrade. Cost is engineering time only; risk is low and reversible.

For engineering: A maintained Filament country field — canonical ISO codes, localized names, flags — usable as a drop-in form component. Ships Laravel 13 compatibility in 2.5.6; the rest of the release is CI dependency hygiene, no API changes. It saves us owning the country dataset and its translations, and it prevents free-text country values leaking into the database. Caveat: single-maintainer project, so pin the version, and it is a select field only — do not stretch it into phone validation or address autocomplete. Recommended action: adopt where Filament forms need a country input, verify Filament version compatibility, and add a routine check on new releases at each Laravel upgrade.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource