Country Code Field plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Country Code Field

Community

A country code select field, filter, and table column.

Tags: Form Field Forms Table Column Tables
Supported versions:
5.x 4.x 3.x
Tapp Network avatar Author: Tapp Network

Package health

Beta

Automated checks of this plugin's Composer package

80 / 100
Security 64
Maintenance 100
Ecosystem 100
15 checks
  • Failed: GitHub Actions pinned to SHA View details on Plumb
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Warning: Dependabot or Renovate configured — Updater does not cover the JavaScript ecosystem, which has a committed lockfile.
  • Failed: Dependency update cooldown configured No cooldown configured in .github/dependabot.yml. View details on Plumb
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 0 days ago; last release 72 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.3 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 3 days ago

Documentation

Latest Version on Packagist GitHub Tests Action Status Code Style Action Status Total Downloads

A country code select form field, table column, and table filter for Laravel Filament.

#Version Compatibility

Filament Filament Country Code Field Documentation
4.x/5.x 2.x Check the docs
3.x 1.x Current

#Installation

You can install the package via Composer:

composer require tapp/filament-country-code-field:"^1.0"

You can publish the config file with:

php artisan vendor:publish --tag="filament-country-code-field-config"

#Usage

#Form Field

Add to your Filament resource:

use Tapp\FilamentCountryCodeField\Forms\Components\CountryCodeSelect;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            // ...
            CountryCodeSelect::make('country_code'),
            // ...
        ]);
}

#Appareance

Filament Country Code Field

Filament Country Code Table Column and Filter

#Table Column

use Tapp\FilamentCountryCodeField\Tables\Columns\CountryCodeColumn;

public static function table(Table $table): Table
{
    return $table
        ->columns([
            //...
            CountryCodeColumn::make('country_code'),
        ])
        // ...
}

#Table Filter

use Tapp\FilamentCountryCodeField\Tables\Filters\CountryCodeSelectFilter;

public static function table(Table $table): Table
{
    return $table
        //...
        ->filters([
            CountryCodeSelectFilter::make('country_code'),
            // ...
        ])
}