Country Code Field
A country code select field, filter, and table column.
Author:
Tapp Network
Documentation
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


#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'),
// ...
])
}
The author
From the same author
Social Share Action
Let your users easily share content via social media platforms, email, or using the native Web Share API all through a fully customizable action.
Author:
Tapp Network
Mail Log
View outgoing mail in a resource.
Author:
Tapp Network
Value Range Filter
A value range filter for Filament table builder.
Author:
Tapp Network
Invites
Invite Users with a table action or a header action.
Author:
Tapp Network
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese