yaroslawww / laravel-uk-towns
Import UK towns list and use towns model.
2.0.1
2022-11-09 19:54 UTC
Requires
- php: ^8.1
- illuminate/support: ^9.0|^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.13
- orchestra/testbench: ^7.11
- phpunit/phpunit: ^9.5
- psalm/plugin-laravel: ^2.0
- vimeo/psalm: ^4.30
README
Import UK towns list and use town model.
Installation
Install the package via composer:
composer require yaroslawww/laravel-uk-towns
Optionally you can publish the config file with:
php artisan vendor:publish --provider="UKTowns\ServiceProvider" --tag="config"
Usage
Import table
php artisan uk-towns:import
# Optionally import postcodes
php artisan uk-towns:postcodes:import