davidbadura / faker-markdown-generator
Faker Markdown Generator
Installs: 569 682
Dependents: 7
Suggesters: 0
Security: 0
Stars: 17
Watchers: 3
Forks: 7
Open Issues: 1
Requires
- php: >=5.4.0
- davidbadura/markdown-builder: ^1.0.4
- fakerphp/faker: ^1.6
This package is auto-updated.
Last update: 2024-11-26 19:18:56 UTC
README
Generate valid, random markdown.
Installation
Add the FakerMarkdownGenerator library to your composer.json
file:
composer require --dev davidbadura/faker-markdown-generator
Usage
To use this with Faker, you must add the DavidBadura\FakerMarkdownGenerator\FakerProvider
class to the Faker generator:
<?php $faker = \Faker\Factory::create(); $faker->addProvider(new \DavidBadura\FakerMarkdownGenerator\FakerProvider($faker)); echo $faker->markdown(); //Delectus sed consequatur et nostrum vero dolorum et. //==================================================== // //Maiores nisi reprehenderit possimus facilis cum ut. Rerum et ex qui velit consequatur voluptas. Reiciendis delectus culpa eum tempora quia voluptatem aut est. // //* Vero nobis est esse in cupiditate quasi. //* Sequi velit magnam molestias expedita fuga non suscipit. //* Quas et maiores perferendis sunt perferendis aut. // //1. Eos aut quibusdam in ipsam recusandae sint et. //2. Ea tenetur quasi pariatur sunt officia vel et quae. //3. Vel ut odio quam illum.