PHPackages                             adamb/uk-counties - 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. adamb/uk-counties

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

adamb/uk-counties
=================

A PHP list of UK counties

v1.0.1(8y ago)02.7k↓70.4%1MITPHP

Since Mar 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/AdamB7586/UK_Counties)[ Packagist](https://packagist.org/packages/adamb/uk-counties)[ RSS](/packages/adamb-uk-counties/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

[![Build Status](https://camo.githubusercontent.com/d2a702bf32b2669c4ce973b45e92ef0ab454ab2a0d5ea6d8ee17c39c83674438/68747470733a2f2f6170692e7472617669732d63692e6f72672f4164616d42373538362f554b5f436f756e746965732e706e67)](https://api.travis-ci.org/AdamB7586/UK_Counties)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5c72a5293747c4e22b470ec8311eb61f0f751f8d78ea8082cb35882d92033cb9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4164616d42373538362f554b5f436f756e746965732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AdamB7586/UK_Counties/)[![Minimum PHP Version](https://camo.githubusercontent.com/586dcf4f3dc6fb6a373471a158c7a7a817de30119e71e526025f322cda98ab12/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e332d3838393242462e7376673f7374796c653d666c61742d636972636c65)](https://php.net/)[![Scrutinizer Coverage](https://camo.githubusercontent.com/22e6bbb4e217d5228b108386b1d4fc12e3a9f5b7311786b452e858aab3fa833e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4164616d42373538362f554b5f436f756e746965732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/AdamB7586/UK_Counties/)

UK Counties PHP
===============

[](#uk-counties-php)

Produces a list of UK counties using PHP. Can be used to store county ID's rather than names.

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

[](#installation)

Installation is available via [Composer/Packagist](https://packagist.org/packages/adamb/uk-counties), you can add the following line to your `composer.json` file:

```
"adamb/uk-counties": "^1.0"
```

or

```
composer require adamb/uk-counties
```

License
-------

[](#license)

This software is distributed under the [MIT](https://github.com/AdamB7586/pdo-dbal/blob/master/LICENSE) license. Please read LICENSE for information on the software availability and distribution.

Usage
-----

[](#usage)

### List Counties

[](#list-counties)

```
