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

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

digitalkaoz/wordpress-faker
===========================

21PHP

Since Dec 6Pushed 12y ago1 watchersCompare

[ Source](https://github.com/digitalkaoz/wordpress-faker)[ Packagist](https://packagist.org/packages/digitalkaoz/wordpress-faker)[ RSS](/packages/digitalkaoz-wordpress-faker/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

wordpress-faker
===============

[](#wordpress-faker)

generate Wordpress Posts with Alice/Faker

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

[](#installation)

with **Composer** :

```
{
    "require-dev": {
        "digitalkaoz/wordpress-faker": "dev-master"
    }
}
```

as executable **PHAR** :

```
$ wget https://github.com/digitalkaoz/wordpress-faker/wordpress-faker.phar

```

Usage
-----

[](#usage)

simply define a Alice Faker File (see  and )

here is a simple Example:

```
digitalkaoz\WordpressFaker\Post:     #using this class is mandatory
    posts{1..10}:                    #will be a wp_post
        __set: __set
        post_title:
        post_status: 'publish'
        post_content:
        post_author: 1
        meta:                        #all these parameters will be wp_post_meta
          my_custom_meta:
```

Then run the Generation:

```
$ php wordpress-faker.phar fake PATH/TO/my_faker.yml PATH/TO/wp_config.php

```

**Voila** you have created 10 random Posts

Tests
-----

[](#tests)

to be followed

TODO
----

[](#todo)

- more wordpress features
- Tests

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c250d4625389526aaf66f599e8e85e684cff28788f71ea2412b2434739a3bffd?d=identicon)[digitalkaoz](/maintainers/digitalkaoz)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[daverandom/exceptional-json

JSON encoding and decoding that throws exceptions on failure

321.4M9](/packages/daverandom-exceptional-json)

PHPackages © 2026

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