PHPackages                             daycode/fictive - 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. daycode/fictive

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

daycode/fictive
===============

A skeleton repository for my packages

v0.1.0(9mo ago)10MITPHPPHP ^8.3.0CI passing

Since Aug 1Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/dayCod/fictive)[ Packagist](https://packagist.org/packages/daycode/fictive)[ Fund](https://www.paypal.com/paypalme/wirandraalaya)[ GitHub Sponsors](https://github.com/dayCod)[ RSS](/packages/daycode-fictive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Fictive
=======

[](#fictive)

Fictive is a Laravel package designed to generate realistic dummy data for testing large-scale systems. Unlike traditional data generators, Fictive creates data that feels real, helping QA testers avoid confusion and enabling more effective testing scenarios.

Features
--------

[](#features)

- Generate millions of realistic records for testing
- Schema-based data generation
- Data validation and normalization
- Caching to avoid duplicate data
- Simple integration with Laravel

How It Works
------------

[](#how-it-works)

1. Setup and initialize Fictive functions
2. Parse your schema
3. Call the desired method to generate data
4. Validate and normalize the result
5. Cache the result for future use
6. Return the generated data as a string

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

[](#installation)

Usage Example
-------------

[](#usage-example)

You can use Fictive in your services, factories, or seeders. Example:

```
use Daycode\Fictive\Fictive;

$handlePersons = app(Fictive::class)
    ->count(1)
    ->handlePersons(); // Person Service Example

$handlePersons(function ($person) {
    User::create([
        'name' => $person->fullName(),
        'email' => $person->email(),
        'email_verified_at' => now(),
        'password' => bcrypt('password'),
        'phone_number' => $person->phoneNumber(),
        'religion' => $person->religion(),
        'hobby' => $person->hobby(),
        'blood_group' => $person->bloodGroup(),
        'job_description' => $person->jobTitle(),
    ]);
});
```

Refer to the documentation in the `docs/` folder for more advanced usage and schema definitions.

Project Structure
-----------------

[](#project-structure)

- `src/` — Main package source code
    - `DTO/` — Data Transfer Objects
    - `Exceptions/` — Custom exceptions
    - `LLM/` — Language Model Modules
    - `Services/` — Service classes
- `config/` — Package configuration
- `tests/` — Unit and feature tests
- `docs/` — Documentation and examples

Available Data Classes
----------------------

[](#available-data-classes)

- [Person Class](https://github.com/dayCod/fictive/blob/master/docs/class/Person.md)

Development &amp; Contribution
------------------------------

[](#development--contribution)

Before pushing to the main branch, please run:

```
./vendor/bin/rector
./vendor/bin/pint
composer test
```

Feel free to open issues or pull requests. See `CONTRIBUTING.md` for more details.

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

Tips
----

[](#tips)

> Keep it simple, and don't overthink it.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance56

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

289d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c9b63aa615f56ae0b98424918945545acc6a6e4b8252269551214784ef967e0?d=identicon)[dayCod](/maintainers/dayCod)

---

Top Contributors

[![dayCod](https://avatars.githubusercontent.com/u/78329755?v=4)](https://github.com/dayCod "dayCod (40 commits)")[![dxdiag11](https://avatars.githubusercontent.com/u/57709417?v=4)](https://github.com/dxdiag11 "dxdiag11 (1 commits)")

---

Tags

phplaravelpackage

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/daycode-fictive/health.svg)

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

###  Alternatives

[nunomaduro/essentials

Just better defaults for your Laravel projects.

1.2k317.5k51](/packages/nunomaduro-essentials)[netojose/laravel-bootstrap-4-forms

Bootstrap 4 form builder for Laravel 5

182115.3k](/packages/netojose-laravel-bootstrap-4-forms)[okipa/laravel-form-components

Ready-to-use and customizable form components.

198.0k1](/packages/okipa-laravel-form-components)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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