yaroslawww/laravel-uk-towns

Import UK towns list and use towns model.

2.0.1 2022-11-09 19:54 UTC

This package is auto-updated.

Last update: 2024-11-10 00:08:45 UTC


README

Packagist License Packagist Version Total Downloads Build Status Code Coverage Scrutinizer Code Quality

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

Credits

  • Think Studio