定制 webpatser/laravel-countries 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

webpatser/laravel-countries

最新稳定版本:v2.0.0

Composer 安装命令:

composer require webpatser/laravel-countries

包简介

Modern Laravel Countries package providing ISO 3166-2, ISO 3166-3, currency, capital and more for all countries. Compatible with Laravel 11.x and 12.x.

README 文档

README

Total Downloads PHP Version Laravel Version License

A comprehensive Laravel package for handling countries data with all 249 countries, flags, currencies, regions, and more.

Installation

Install via Composer:

composer require webpatser/laravel-countries

Run the installation command to set up the database:

php artisan countries:install

Quick Usage

use Webpatser\Countries\Countries;

$countries = new Countries();
$usa = $countries->getOne('US');
$allCountries = $countries->getList();
$euroCountries = $countries->getByCurrency('EUR');

Features

  • ???? All 249 countries with complete data
  • ????️ Flag emojis for every country
  • ???? Currency information and filtering
  • ???? Regional grouping and filtering
  • ???? Search and query capabilities
  • ???? Laravel validation rules
  • ???? Collection and String macros
  • ????️ Eloquent model support

Documentation

For complete documentation, examples, and API reference, visit:

https://documentation.downsized.nl/laravel-countries

License

MIT License

统计信息

  • 总下载量: 2.67M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 818
  • 点击次数: 3
  • 依赖项目数: 10
  • 推荐数: 0

GitHub 信息

  • Stars: 798
  • Watchers: 22
  • Forks: 225
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固