Plugins
Country Code Field
A country code select field, filter, and table column.
Form Builder
Table Column
Table Builder
Form Field
Dark theme support
Yes
Multi language support
No
Compatible with the latest version
Supported versions: 3.x
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.

#Installation

composer require tapp/filament-country-code-field

#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\CountryCodeFilter;
 
public static function table(Table $table): Table
{
return $table
//...
->filters([
CountryCodeFilter::make('country_code'),
// ...
])
}
Tapp Network

Tapp Network is a digital transformation agency. We deliver performance-driven solutions for organizations of all sizes to rapidly plan, build and grow their market share, revenue, and impact.

10
Plugins
220
Stars
More from this author
Featured Plugins