PHPackages                             bairwell/faker-en-gb-ons-lastnames - 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. bairwell/faker-en-gb-ons-lastnames

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

bairwell/faker-en-gb-ons-lastnames
==================================

Last names/Surnames from the UK's Office of National Statistics as a provider for Faker

v1.0.1(6y ago)089MITPHPPHP &gt;=7.1

Since Aug 29Pushed 6y agoCompare

[ Source](https://github.com/bairwell/faker-en-gb-ons-lastnames)[ Packagist](https://packagist.org/packages/bairwell/faker-en-gb-ons-lastnames)[ RSS](/packages/bairwell-faker-en-gb-ons-lastnames/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Need surnames that "look real" for a UK orientated application (for example, for testing search facilities or for creating a honeypot system)? Well, this is the [Faker](https://github.com/fzaninotto/Faker) provider library for you!

Seeded with data from the UK's Office Of National Statistics and containing the top 50,000 surnames out of 54,218,802 (based on 2002 available data) - all complete with frequency weighting - so the data "looks right".

The names are formatted using [namecase](https://github.com/tamtamchik/namecase).

License
=======

[](#license)

The Data is available under the Open Government Licence v3.0 as per

This package is not supported/sponsored/acknowledged/recommended by the UK Government or the Office of National Statistics. It is entirely unofficial.

Usage
=====

[](#usage)

```
    $faker=new \Faker\Generator();
    $faker->addProvider(new \Bairwell\Faker\EnGbOns\Lastnames\Lastnames($faker));
    $fakeName=$faker->lastName;

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

2448d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16501974?v=4)[Bairwell Ltd](/maintainers/bairwell)[@bairwell](https://github.com/bairwell)

---

Top Contributors

[![rbairwell](https://avatars.githubusercontent.com/u/775269?v=4)](https://github.com/rbairwell "rbairwell (2 commits)")

---

Tags

fakerfaker-providerlast-namesnationalarchivesonsopen-dataphpsurnames

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bairwell-faker-en-gb-ons-lastnames/health.svg)

```
[![Health](https://phpackages.com/badges/bairwell-faker-en-gb-ons-lastnames/health.svg)](https://phpackages.com/packages/bairwell-faker-en-gb-ons-lastnames)
```

###  Alternatives

[digilist/snakedumper

5045.5k](/packages/digilist-snakedumper)[cinghie/yii2-traits

Yii2 Traits

116.9k8](/packages/cinghie-yii2-traits)[emanueleminotto/faker-service-provider

Faker Service Provider for Silex

162.9k](/packages/emanueleminotto-faker-service-provider)[flowpack/nodegenerator

Random nodes generator for Neos CMS

122.1k](/packages/flowpack-nodegenerator)[prewk/xml-faker

Create random XML with the help of fzaniotto/Faker.

101.8k3](/packages/prewk-xml-faker)

PHPackages © 2026

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