PHPackages                             saicosys/cakephp-fake-data-plugin - 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. saicosys/cakephp-fake-data-plugin

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

saicosys/cakephp-fake-data-plugin
=================================

Fake data generator plugin for CakePHP

v1.0.2(12mo ago)11MITPHPPHP &gt;=8.1

Since Jul 8Pushed 12mo agoCompare

[ Source](https://github.com/saicosys/cakephp-fake-data-plugin)[ Packagist](https://packagist.org/packages/saicosys/cakephp-fake-data-plugin)[ RSS](/packages/saicosys-cakephp-fake-data-plugin/feed)WikiDiscussions main Synced today

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

Saicosys CakePHP 5 Fake data generator plugin
=============================================

[](#saicosys-cakephp-5-fake-data-generator-plugin)

*A lightweight CakePHP 5 plugin to generate and insert fake data into valid models only.*

Introduction
------------

[](#introduction)

`Saicosys/FakeData` is a CakePHP 5 plugin designed to help developers and testers quickly generate and populate fake data into any existing model. It uses the own dummy content to generating realistic test data, while ensuring only valid models are targeted to maintain safety and structure.

Features
--------

[](#features)

- Smart model detection — only generates data for existing models.
- Fully CLI-based — simple to run with options.
- Supports customizable record count.
- Perfect for local development, testing, and demo environments.

Use Cases
---------

[](#use-cases)

- Quickly populate your development database.
- Simulate large datasets for performance testing.
- Replace manual data entry with one command.

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

[](#installation)

1. Install the Plugin via Composer You can install the plugin using Composer by running the following command at the root of your CakePHP 5 project:

```
composer require saicosys/cakephp-fake-data-plugin --dev
```

2. Load the Plugin

After installation, load the plugin:

```
bin/cake plugin load Saicosys/FakeData
```

Usage
-----

[](#usage)

### List available models

[](#list-available-models)

```
bin/cake fake --list-models
```

### Generate fake data for a model

[](#generate-fake-data-for-a-model)

```
bin/cake fake
```

Example:

```
bin/cake fake users 10
```

### Preview (dry run) fake data

[](#preview-dry-run-fake-data)

```
bin/cake fake users 5 --dry-run
```

### Specify custom special fields

[](#specify-custom-special-fields)

```
bin/cake fake users 10 --special-fields=avatar,logo,thumbnail
```

### Options

[](#options)

- `--list-models, -l` : List available models for fake data generation.
- `--dry-run, -d` : Show what would be generated without saving to the database.
- `--special-fields, -s` : Comma-separated list of additional special fields (e.g., `avatar,logo`).

License
-------

[](#license)

This plugin is licensed under the MIT License.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance50

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4a909ae244db4021f4e9cfc19fab7b19af94171a62a495b980c98d4c0bbff50?d=identicon)[sandeep-kadyan](/maintainers/sandeep-kadyan)

---

Top Contributors

[![sandeep-kadyan](https://avatars.githubusercontent.com/u/63108804?v=4)](https://github.com/sandeep-kadyan "sandeep-kadyan (3 commits)")[![saicosys](https://avatars.githubusercontent.com/u/10906005?v=4)](https://github.com/saicosys "saicosys (1 commits)")

---

Tags

fakercakephpFake datafakedatamock data

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/saicosys-cakephp-fake-data-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/saicosys-cakephp-fake-data-plugin/health.svg)](https://phpackages.com/packages/saicosys-cakephp-fake-data-plugin)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3099.1k6](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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