定制 lwwcas/laravel-countries 二次开发

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

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

lwwcas/laravel-countries

最新稳定版本:4.12.0.1

Composer 安装命令:

composer require lwwcas/laravel-countries

包简介

A comprehensive package for managing country data in Laravel applications, including multilingual support, geographic coordinates, and detailed metadata for seamless integration with Laravel.

README 文档

README

Hero Map

release size Packagist Downloads Packagist Stars Packagist License

Full Documentation


Very short description

My Logo

Laravel Countries is a package that provides everything you need to kickstart a new project with comprehensive country information, including translations. Optimized for Laravel, it ensures efficient access and management of country data.

The package stores all data directly in your database, allowing you to easily link it to any other table in a simple and familiar way using Laravel’s Eloquent ORM.

???? Available Languages

We currently support the following languages:

Language Flag Country Number of Countries
Arabic ???????? Saudi Arabia 25
Dutch ???????? Netherlands 3
English ???????? United Kingdom 67
German ???????? Germany 6
Italian ???????? Italy 4
Portuguese ???????? Brazil 9
Russian ???????? Russia 4
Spanish ???????? Spain 21

???? Getting Started

Install the package quickly via Composer:

composer require lwwcas/laravel-countries

And get started with Artisan

php artisan w-countries:install

Usage

You can access all the information in the database with a simple query

use  Lwwcas\LaravelCountries\Models\Country;

Country::whereIso('BR')->first();
Country::whereIsoAlpha3('BRA')->first();
Country::whereSlug('brasil')->first();

Testing With Pest Php

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 52.3k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 113
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 112
  • Watchers: 5
  • Forks: 31
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固