1. Go to this page and download the library: Download dcemal/filament-jsvectormap library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Dcemal\FilamentJsVectorMap\Forms\Components\MapSelect;
MapSelect::make('target_countries')
->label('Target countries');
use Dcemal\FilamentJsVectorMap\Infolists\Components\CountriesEntry;
CountriesEntry::make('target_countries')
->label('Target countries')
->showMap(); // or ->hideMap() to show only the flag badges