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(10mo ago)11MITPHPPHP &gt;=8.1

Since Jul 8Pushed 10mo 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 1mo ago

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

29

—

LowBetter than 59% of packages

Maintenance54

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

314d 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

338920.1k32](/packages/dereuromark-cakephp-tools)[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

401.0M11](/packages/dereuromark-cakephp-shim)[cakedc/tiny-mce

TinyMCE Plugin for CakePHP

10790.2k](/packages/cakedc-tiny-mce)[dereuromark/cakephp-dto

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

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)

PHPackages © 2026

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