PHPackages                             twmbx/faker-zambia - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. twmbx/faker-zambia

ActiveLibrary[Testing &amp; Quality](/categories/testing)

twmbx/faker-zambia
==================

Faker provider to generate fake data for Zambian entities, namely; persons, companies and phone numbers.

1.0.1(5y ago)411MITPHPPHP ^7.2.5

Since May 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/twmbx/faker-zambia)[ Packagist](https://packagist.org/packages/twmbx/faker-zambia)[ RSS](/packages/twmbx-faker-zambia/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (0)

Faker Zambia 🇿🇲
===============

[](#faker-zambia-zambia)

A PHP provider for [fzaninotto/Faker](https://github.com/fzaninotto/Faker) that adds the ability to generate fake data for the Zambian context. This package enables the developer to generate Zambian Names, Companies and Phone Numbers.

Requirements
------------

[](#requirements)

- PHP 7.2.5
- [fzaninotto/Faker](https://github.com/fzaninotto/Faker)

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

[](#installation)

```
    composer require twmbx/faker-zambia
```

Usage
-----

[](#usage)

```
    require_once './vendor/autoload.php';

    use Faker\Factory as Faker;
    use FakerZambia\Provider\en_ZM\Person as Zambian;
    use FakerZambia\Provider\en_ZM\Company as ZambianCompany;
    use FakerZambia\Provider\en_ZM\PhoneNumber as ZambianPhone;

    $faker = Faker::create('en_ZM');
    $faker->addProvider(new Zambian($faker));
    $faker->addProvider(new ZambianCompany($faker));
    $faker->addProvider(new ZambianPhone($faker));

    // fake people
    echo $faker->name;            // Peter Malambo
    echo $faker->firstName        // Chanda
    echo $faker->firstNameMale    // Moses
    echo $faker->firstNameFemale; // Patricia
    echo $faker->lastName;        // Kalunga

    // fake companies
    echo $faker->company;         // Siamutwa Imports Ltd

    // fake phone numbers
    echo $faker->phoneNumber;     // 0212224773 | +260212224773
    echo $faker->mobileNumber;    // 0763028036 | +260763028036
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Made with ❤️ in 🇿🇲

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

2185d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/536306?v=4)[Twaambo Haamucenje](/maintainers/twmbx)[@twmbx](https://github.com/twmbx)

---

Top Contributors

[![twmbx](https://avatars.githubusercontent.com/u/536306?v=4)](https://github.com/twmbx "twmbx (3 commits)")

---

Tags

fakerseed-databasetestingzambia

### Embed Badge

![Health badge](/badges/twmbx-faker-zambia/health.svg)

```
[![Health](https://phpackages.com/badges/twmbx-faker-zambia/health.svg)](https://phpackages.com/packages/twmbx-faker-zambia)
```

###  Alternatives

[sizuhiko/fabricate

PHP data generator for Testing

64626.3k2](/packages/sizuhiko-fabricate)[silverstripe/frameworktest

Aids core and module developers in testing their code against a set of sample data and behaviour.

17304.6k23](/packages/silverstripe-frameworktest)[refinery29/test-util

Provides a test helper, generic data providers, and assertions.

1554.0k3](/packages/refinery29-test-util)[liorchamla/symfony-test-helpers

Provides cool tools to make testing over symfony smoothie and great !

222.2k](/packages/liorchamla-symfony-test-helpers)

PHPackages © 2026

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