yaroslawww / laravel-uk-towns
Import UK towns list and use towns model.
Installs: 434
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/yaroslawww/laravel-uk-towns
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