承接 mohammadhprp/filament-ip-to-country-flag-column 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mohammadhprp/filament-ip-to-country-flag-column

最新稳定版本:v1.0.2

Composer 安装命令:

composer require mohammadhprp/filament-ip-to-country-flag-column

包简介

Display Country flag from IP address in your Filament tables

README 文档

README

License Latest Version on Packagist Total Downloads

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

image

Installation

You can install the package via composer:

composer require mohammadhprp/filament-ip-to-country-flag-column

For Filament v2:

composer require mohammadhprp/filament-ip-to-country-flag-column:"^0.2.0"

Usage

To use the package, follow these steps:

use Mohammadhprp\IPToCountryFlagColumn\Columns\IPToCountryFlagColumn; IPToCountryFlagColumn::make('client_ip');

Options

  1. Flag position: Change the position of the flag using flagPosition. Available options: right and left.

    IPToCountryFlagColumn::make('client_ip')->flagPosition('left');

    ???? Note: Default flag position is right.

  2. Hide flag: Hide the flag using hideFlag.

    IPToCountryFlagColumn::make('client_ip')->hideFlag();
  3. Location position: Change the location position using location(). Available options: below and above.

    IPToCountryFlagColumn::make('client_ip')->location(position: 'above');

    ???? Note: Default location position is below.

  4. Location separator: Change the location separator using location().

    IPToCountryFlagColumn::make('client_ip')->location(separator: '-');

    ???? Note: Default location separator is ,.

  5. Hide city or country name: Hide city or country name using hideCity() or hideCountry().

    IPToCountryFlagColumn::make('client_ip') ->hideCountry() ->hideCity();

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature.
  3. Make your changes and commit them with clear commit messages.
  4. Submit a pull request to the master branch.

Credits

License

This project is licensed under the MIT License - see the License file for details.

统计信息

  • 总下载量: 16.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 23
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固