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

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

omatech/auto-faker
==================

Generate large amounts of multidimensional arrays without effort

v0.3(7y ago)4233PHP

Since Apr 30Pushed 6y ago8 watchersCompare

[ Source](https://github.com/omatech/auto-faker)[ Packagist](https://packagist.org/packages/omatech/auto-faker)[ RSS](/packages/omatech-auto-faker/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

Installation
============

[](#installation)

```
composer require omatech/auto-faker
php artisan vendor:publish

```

Usage
=====

[](#usage)

For each page you have to create a markup:

1- Define your data

in the folder config/autofaker create a file describing your data in YAML, see the index.yaml for example.

```
user:
  vehicles*:
    revisions*:
news*:
menu:
  groups*:
    links*:
pages+:

```

The \* defines multiple records (the system generates between 3 and 6 randomly)

The + defines multiple laravel pagination records (the system generates between 3 and 6 randomly)

To see the generated sample data use this URL:

/index.html?debug-data=true

If you need an url called users.html then create a file users.html

2- Define your view

You must create a file called resources/views/markup/xxx.blade.php where xxx is the url you are using. See index.blade.php as an example.

3- Create the components needed for your project

4- If you want to modify the default fake data for each record modify the file config/autofaker/fake\_record\_format.json

```
}
    "status": {
        "type": "randomElement",
        "params": [
            [
                "active",
                "pending",
                "rejected"
            ]
        ]
    }
}

```

5- You're DONE!

If you need to add additional fields to each object generated modify the function getFakeRecord in the web.php file.

Test
====

[](#test)

./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/AutoFakerTest

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~1 days

Total

8

Last Release

2611d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a6b2440a7864015d71501a9cd77d28bed549c283afdd8d1af95f54b650dc833?d=identicon)[aponscat](/maintainers/aponscat)

---

Top Contributors

[![aponscat](https://avatars.githubusercontent.com/u/20087234?v=4)](https://github.com/aponscat "aponscat (9 commits)")[![alorman-omatech](https://avatars.githubusercontent.com/u/39263406?v=4)](https://github.com/alorman-omatech "alorman-omatech (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k48](/packages/friendsoftypo3-content-blocks)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)

PHPackages © 2026

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