jcs/country 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jcs/country

最新稳定版本:v1.0.0

Composer 安装命令:

composer require jcs/country

包简介

Laravel package to get country data, codes, and dial codes

README 文档

README

Laravel package to get country data, codes, dial codes, flags, and more.

About

This package provides an easy way to access country information such as country names, ISO codes, dial codes, flags, currency, languages, and other details inside your Laravel application.

You can fetch all countries, search by country code, or search by country name easily using a simple API.

This package loads data from a JSON file bundled within the package — so it works offline with no external API calls.

Features

  • Get all country data as a Laravel collection
  • Retrieve country details by ISO 2-letter country code
  • Retrieve country details by country name
  • Includes flags (Unicode emojis), dial codes, currency info, official languages, capital city, timezones, top-level domains, population, area, and more
  • Lightweight JSON-based data source
  • Easy integration with Laravel via service provider and auto-discovery

Installation

Require the package via Composer:

composer require jcs/country

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-09