Download the PHP package mohammadhprp/filament-ip-to-country-flag-column without Composer
On this page you can find all versions of the php package mohammadhprp/filament-ip-to-country-flag-column. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohammadhprp/filament-ip-to-country-flag-column
More information about mohammadhprp/filament-ip-to-country-flag-column
Files in mohammadhprp/filament-ip-to-country-flag-column
Package filament-ip-to-country-flag-column
Short Description Display Country flag from IP address in your Filament tables
License MIT
Homepage https://github.com/mohammadhprp/filament-ip-to-country-flag-column
Informations about the package filament-ip-to-country-flag-column
IP to country flag Column for Filament 🚩
Display country flag from IP address in your Filament tables
Warning This plugin may cause a slight delay in page loading due to API calls to iplocation.
Screenshot
Installation
You can install the package via composer:
For Filament v2:
Usage
To use the package, follow these steps:
Options
-
Flag position: Change the position of the flag using
flagPosition
. Available options:right
andleft
.💡 Note: Default flag position is
right
. -
Hide flag: Hide the flag using
hideFlag
. -
Location position: Change the location position using
location()
. Available options:below
andabove
.💡 Note: Default location position is
below
. -
Location separator: Change the location separator using
location()
.💡 Note: Default location separator is
,
. - Hide city or country name: Hide city or country name using
hideCity()
orhideCountry()
.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
- Fork the repository.
- Create a new branch for your feature.
- Make your changes and commit them with clear commit messages.
- Submit a pull request to the
master
branch.
Credits
License
This project is licensed under the MIT License - see the License file for details.