httpsnader1 / world
Laravel World Will Provide ( Continents -> Countries -> States -> Cities -> Regions ) With Relations & Database & Translated .
v1.0.2
2025-10-10 19:02 UTC
Requires
- php: ^8.2
- laravel/framework: ^12.0
- spatie/laravel-translatable: ^6.11
This package is auto-updated.
Last update: 2026-03-10 19:46:45 UTC
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 .