PHPackages                             yaroslawww/laravel-uk-towns - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yaroslawww/laravel-uk-towns

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yaroslawww/laravel-uk-towns
===========================

Import UK towns list and use towns model.

2.0.1(3y ago)0443MITPHPPHP ^8.1

Since Sep 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yaroslawww/laravel-uk-towns)[ Packagist](https://packagist.org/packages/yaroslawww/laravel-uk-towns)[ Docs](https://github.com/yaroslawww/laravel-uk-towns)[ RSS](/packages/yaroslawww-laravel-uk-towns/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (9)Used By (0)

Laravel UK towns.
=================

[](#laravel-uk-towns)

[![Packagist License](https://camo.githubusercontent.com/3e80b46c32c12359c488dbb269f8bdd2acb0d12ddfafa23072bc3811e72acf4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7961726f736c617777772f6c61726176656c2d756b2d746f776e733f636f6c6f723d253233346463373166)](https://camo.githubusercontent.com/3e80b46c32c12359c488dbb269f8bdd2acb0d12ddfafa23072bc3811e72acf4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7961726f736c617777772f6c61726176656c2d756b2d746f776e733f636f6c6f723d253233346463373166)[![Packagist Version](https://camo.githubusercontent.com/bca071af6b87b63c202f26bd257a9caf4ec455cf30e286273bc5549fd9e66e5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7961726f736c617777772f6c61726176656c2d756b2d746f776e73)](https://packagist.org/packages/yaroslawww/laravel-uk-towns)[![Total Downloads](https://camo.githubusercontent.com/86efbd9cecbbc1d17a0f9d0028fe6fe6b007feaeb87a870cfed19776bc80ed07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7961726f736c617777772f6c61726176656c2d756b2d746f776e73)](https://packagist.org/packages/yaroslawww/laravel-uk-towns)[![Build Status](https://camo.githubusercontent.com/8fb7412aa6e5fdbee8db32e2c382755a4f95a1050efae1b2ab006e02f3ed825a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7961726f736c617777772f6c61726176656c2d756b2d746f776e732f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/yaroslawww/laravel-uk-towns/build-status/main)[![Code Coverage](https://camo.githubusercontent.com/20f9b9dc9600bcb0b55d6725e77e527d4017931c883f9eff4b0ec907bd30a152/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7961726f736c617777772f6c61726176656c2d756b2d746f776e732f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/yaroslawww/laravel-uk-towns/?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/194cd5e18faab26a7aa668eeecbf69a000c7540ce9e86af155eef73018b173d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7961726f736c617777772f6c61726176656c2d756b2d746f776e732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/yaroslawww/laravel-uk-towns/?branch=main)

Import UK towns list and use town model.

Installation
------------

[](#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
-----

[](#usage)

### Import table

[](#import-table)

```
php artisan uk-towns:import

# Optionally import postcodes
php artisan uk-towns:postcodes:import
```

Credits
-------

[](#credits)

- [![Think Studio](https://camo.githubusercontent.com/8e541bece07d503c85a126b5294865faa00e27371048772f566a0cce8c01fd3a/68747470733a2f2f7961726f736c617777772e6769746875622e696f2f696d616765732f73706f6e736f72732f7061636b616765732f6c6f676f2d7468696e6b2d73747564696f2e706e67)](https://think.studio/)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~13 days

Total

8

Last Release

1280d ago

Major Versions

1.1.3 → 2.0.02022-11-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23663794?v=4)[yaroslawww](/maintainers/yaroslawww)[@yaroslawww](https://github.com/yaroslawww)

---

Top Contributors

[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (9 commits)")

---

Tags

laraveluktown

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yaroslawww-laravel-uk-towns/health.svg)

```
[![Health](https://phpackages.com/badges/yaroslawww-laravel-uk-towns/health.svg)](https://phpackages.com/packages/yaroslawww-laravel-uk-towns)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
