Download the PHP package erag/laravel-location-kit without Composer
On this page you can find all versions of the php package erag/laravel-location-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download erag/laravel-location-kit
More information about erag/laravel-location-kit
Files in erag/laravel-location-kit
Package laravel-location-kit
Short Description Laravel data-only countries, states, cities, currencies, timezones, and dial codes for helpers and Blade.
License MIT
Informations about the package laravel-location-kit
π Laravel Location Kit
erag/laravel-location-kit is a complete Laravel location data package for countries, states, cities, currencies, timezones, and dial codes with Laravel helpers, Blade directives, Inertia support, Vue composables, and React hooks.
Built for modern Laravel applications using Laravel + Inertia + Vue / React.
β¨ Features
- π 246 Countries
- πΊοΈ 4,120 States / Regions
- ποΈ 48,313 Cities
- π± 162 Currencies
- π 419 Timezones
- π Country Dial Codes
- π± Phone Mask Support
- π οΈ Laravel Facade Support
- π Global Helper Functions
- π¨ Blade Directives
- β‘ Inertia Shared Props
- π Vue Package Included
- βοΈ React Package Included
- π Search Support
- π Cache Support
- π§© Override Default JSON Data
π§ Coming Soon
- π§± Class-based Custom Location Data (Country, State, City, Currency)
- β Register Custom Data via Classes
- π Support for Multiple Data Sources (Class + JSON)
π¦ Installation
Laravel Package
`
π Vue
βοΈ React
π Data Coverage
βοΈ Configuration
π Why Cities Disabled by Default?
City dataset is large, so it is disabled by default for better performance.
π οΈ Laravel Usage
Facade
Laravel Facade
β‘ Inertia Support
π§© Override Default Data
You can override bundled package data without editing vendor files.
Create your own files inside:
Supported files:
When the same key exists, your custom record replaces the default package record.
π Override Country Example
πΊοΈ Override States Example
ποΈ Override Cities Example
π± Override Currency Example
βοΈ Change Storage Path
π§Ή Clear Cache After Update
Vue / React Composable API
π Option Arrays
π§ Helper Functions
π¨ Blade Directives
π± Phone Mask Example
Vue
Output
β‘ Short Laravel + Inertia Example
Route
Controller
Vue Page
π Vue Usage
βοΈ React Usage
π Requirements
- PHP 8.2+
- Laravel 10 / 11 / 12 / 13
- Inertia.js Optional
- Vue / React Optional
β Support
If you like this package, give it a GitHub star.
All versions of laravel-location-kit with dependencies
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0