PHPackages                             jemer/faker - 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. jemer/faker

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

jemer/faker
===========

Fake data for your PHP projects

v1.0.0(1y ago)08MITPHP

Since Dec 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/J-Emer/Faker)[ Packagist](https://packagist.org/packages/jemer/faker)[ RSS](/packages/jemer-faker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Faker
=====

[](#faker)

Generates fake data for you PHP projects.

Useage
======

[](#useage)

```
composer require jemer/faker

```

Including Fake data into your project is easy. Assume we are creating a new User and Blog Post

```
use Jemer\Faker\Factory;

$user = new User(
   [
       "firstName" => Factory::Name_Man(),
       "lastName" => Factory::LastName(),
       "age" => Factory::Age_Adult(),
       "address" => Factory::Us_Address(),
       "email" => Factory::Email(),
       "password" => Factory::Password()
   ]
);

$blogPost = new BlogPost([
   "title" => Factory::Title(),
   "author" => Factory::Name_Man(),
   "published" => Factory::Date(),
   "content" => Factory::Paragraphs(8)
]);
```

Method names that are singular return a `string`

```
echo Factory::Name_Man();
```

Outputs:

```
Scott

```

Method names that are plural take in as an argument the number of elements you want in the return array. Then returns an `array` or strings

```
var_dump(Factory::Names_Men(7));
```

Outputs:

```
array(7) {
  [0]=>
  string(5) "Larry"
  [1]=>
  string(5) "Kevin"
  [2]=>
  string(5) "Larry"
  [3]=>
  string(5) "Kevin"
  [4]=>
  string(6) "George"
  [5]=>
  string(6) "Joshua"
  [6]=>
  string(5) "Jerry"
}

```

`Jemer\Faker` also has the following methods

- Blog\_Category
- Blog\_Categories
- Name\_Man
- Names\_Men
- Name\_Woman
- Names\_Women
- LastName
- LastNames
- StreetName
- StreetNames
- Country
- Countries
- State\_FullName
- State\_FullNames
- State\_Abbreviated
- States\_Abbreviated
- CardinalDirection
- CardinalDirections
- Email
- Emails
- CityName
- CityNames
- Us\_PhoneNumber
- Us\_Address
- Paragraph
- Paragraphs
- Age\_Adult
- Age\_Child
- Password
- Passwords
- Title -&gt; such as a Book, Blog Post, Article ...
- Titles -&gt; Book, Blog Post, Articles...
- Month
- Months
- Date -&gt; in "01 January 2024" format

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

519d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61d4bd4e6dee5b06ab7b7d0832d472ebeb41f07c86f4c2da54b45aed93e20fec?d=identicon)[J-Emer](/maintainers/J-Emer)

---

Top Contributors

[![J-Emer](https://avatars.githubusercontent.com/u/90985256?v=4)](https://github.com/J-Emer "J-Emer (9 commits)")

### Embed Badge

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

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

###  Alternatives

[yavin/symfony-form-tree

create select field with indentation for tree structure

1591.1k1](/packages/yavin-symfony-form-tree)[spatie/laravel-help-space

Integrate Helpspace in your Laravel app

2333.7k](/packages/spatie-laravel-help-space)

PHPackages © 2026

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