httpsnader1/world
最新稳定版本:v1.0.2
Composer 安装命令:
composer require httpsnader1/world
包简介
Laravel World Will Provide ( Continents -> Countries -> States -> Cities -> Regions ) With Relations & Database & Translated .
README 文档
README
Laravel World Will Provide ( Continents -> Countries -> States -> Cities -> Regions ) With Relations & Database & Translated .
Conceptions
There Are 6 Objects In This Package .
- World : The Earth World .
- Continent : 7 Continent .
- Country : 250 Countries .
- State : States Of Each Country .
- City : Cities Of Each State .
- Region : Regions Of Each City .
Setup
- Install Package
composer require httpsnader1/world
-
Publish Files
- Migrations
php artisan vendor:publish --force --provider="Httpsnader1\World\WorldServiceProvider" --tag=migrations
- Seeders
php artisan world:publish-seeders
- Models
php artisan world:publish-models
-
Initialize Package
php artisan world:init
Usage
- Get All Continent
use Httpsnader1\World\Models; WorldContinent::get();
- Get All Countries
use Httpsnader1\World\Models; WorldCountry::get();
Thanks
About
This Package Published Under MIT License . If You Have Any Question Or Suggestion , Please Feel Free To Submit a Issue , Or Email Me Mohamed Nader httpsnader@gmail.com Or Call Me +201098683990.
Have a Nice Day .
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-10