Skip to main content

Content Faker

v1.2.0
2
702

Generate realistic fake Markdown, HTML, and rich editor content for Laravel model factories, database seeders, rich text previews, documentation examples, renderer tests, CMS demos, and UI screenshots.

Content Faker thumbnail

Package health

Automated checks of this package

93 / 100
Security 92
Maintenance 90
Ecosystem 100
Powered by Plumb Last scanned 4 days ago

Compatibility

Version PHP Laravel Latest Docs
1.x (Current) ^8.3 ^11.0|^12.0|^13.0 v1.2.0 1.x docs

Content Faker generates realistic fake Markdown, HTML and rich editor content — for model factories, database seeders, rich text previews, documentation examples, renderer tests, CMS demos and UI screenshots.

Where a plain fake()->paragraph() gives you flat prose, these fakers produce structured documents: headings, lists, tables, code blocks, callouts and inline formatting, in the shape a real editor would have written.

The three generators

MarkdownFaker
HtmlFaker
└── RichEditorFaker

MarkdownFaker and HtmlFaker are independent. RichEditorFaker extends HtmlFaker, so it has everything HTML has plus editor-specific blocks.

Note

RichEditorFaker produces editor-friendly HTML only. It does not require Filament, Tiptap, ProseMirror, Livewire or any editor package — the Filament block helpers are placeholders in the output, nothing more.

Requirements

  • PHP 8.3 or later
  • fakerphp/faker and illuminate/support

It is Laravel-friendly and works outside a full Laravel application where practical.

Where to go next

  • Installation — install the package and publish its config.
  • Usage — the fluent API, presets, factory examples and configuration.
  • Generators — what each of the three adds.