Download the PHP package topkstt/laravel-thai-address without Composer
On this page you can find all versions of the php package topkstt/laravel-thai-address. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download topkstt/laravel-thai-address
More information about topkstt/laravel-thai-address
Files in topkstt/laravel-thai-address
Download topkstt/laravel-thai-address
More information about topkstt/laravel-thai-address
Files in topkstt/laravel-thai-address
Vendor topkstt
Package laravel-thai-address
Short Description Help Thailand developer for address database
License MIT
Package laravel-thai-address
Short Description Help Thailand developer for address database
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-thai-address
Laravel Thai Address
Provide Thailand geographic database like provinces, districts, sub-districts and generate api route for you application.
Features
- Thailand provinces, district, sub district and postal codes database.
- REST API Routes.
- Support UUID (Set in config file).
Roadmap
- Add English Name
- Add Latitude & Longitude Information
- Add Address Extractor
Requirement
- PHP 7.1 - 8.1
- Laravel 7.0 - 9.0
Installation
Install Laravel Thai Address with Composer
Publishing package config file
Publishing package migration file & migrate database
Publishing package migration seeder & seed database
API Reference
- Please enabled API config in thai_address.php config file before call API endpoint.
- Please set prefix API route in thai_address.php config file before call API endpoint.
- Postman Collection -> Click here
Province
Get all province
Parameter | Type | Description |
---|---|---|
with_all |
boolean |
Optional. Include postal_code, sub_district, district to result. |
Get province by ID
Parameter | Type | Description |
---|---|---|
with_all |
boolean |
Optional. Include postal_code, sub_district, district to result. |
Search province by name
Parameter | Type | Description |
---|---|---|
with_all |
boolean |
Optional. Include postal_code, sub_district, district to result. |
District
Get all district
Parameter | Type | Description |
---|---|---|
with_province |
boolean |
Optional. Include province to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
Get district by ID
Parameter | Type | Description |
---|---|---|
with_province |
boolean |
Optional. Include province to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
Search district by name
Parameter | Type | Description |
---|---|---|
with_province |
boolean |
Optional. Include province to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
Sub District
Get all sub district
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_postal_code |
boolean |
Optional. Include postal code to result. |
Get sub district by ID
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_postal_code |
boolean |
Optional. Include postal code to result. |
Search sub district by name
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_postal_code |
boolean |
Optional. Include postal code to result. |
Postal Code
Get all postal code
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
with_province |
boolean |
Optional. Include province to result. |
Get postal code by ID
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
with_province |
boolean |
Optional. Include province to result. |
Search postal code by name
Parameter | Type | Description |
---|---|---|
with_district |
boolean |
Optional. Include district to result. |
with_sub_district |
boolean |
Optional. Include sub district to result. |
with_province |
boolean |
Optional. Include province to result. |
All versions of laravel-thai-address with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
The package topkstt/laravel-thai-address contains the following files
Loading the files please wait ....