vienman1990 / jpaddress
search address in japan
v1.0.0
2024-07-02 15:02 UTC
Requires
- php: ^8.1
Requires (Dev)
- laravel/pint: ^1.0
- pestphp/pest: ^2.20
- spatie/ray: ^1.28
README
data
https://www.post.japanpost.jp/zipcode/dl/kogaki-zip.html
Installation
You can install the package via composer:
composer require vienman1990/jpaddress
Usage
use Vienman1990\JPAddress\JPAddressClass; $address = new JPAddressClass::find($zipcode); // 1600000 echo $address[0] = '都道府県'; echo $address[1] = '地区'; echo $address[2] = '町';
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.