2017 © Pedro Peláez
 

library blog-article-faker

Generate random blog article titles and content (including markdown) using faker

image

andrefigueira/blog-article-faker

Generate random blog article titles and content (including markdown) using faker

  • Thursday, February 23, 2017
  • by andre
  • Repository
  • 1 Watchers
  • 5 Stars
  • 621 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

BlogArticleFaker

Build Status Total Downloads, (*1)

Generates titles and content for blog articles using faker, (*2)

Why?

If you're developing something which has some kind of blog or news system this will generate titles for them it will also generate content in HTML and Markdown based on some templates, the titles use real words, and the content uses Fakers Lorem ipsum generators., (*3)

How?

We define formats which are then used to generate titles, the titles use real words, so we have a collection of adjectives, verbs, nouns and adverbs to generate "close enough" article titles, some of them happy to be quite funny, I did not stop laughing whilst making this..., (*4)

Installation

Run the following:, (*5)

composer require andrefigueira/blog-article-faker

Or add the following to your composer file:, (*6)

{
  "require": {
    "andrefigueira/blog-article-faker": "dev-master"
  }
}

And then run:, (*7)

composer install

Usage

You can now use this FakerProvider with Faker to produce your fake article titles and content:, (*8)

$faker = Faker\Factory::create();

$faker->addProvider(new BlogArticleFaker\FakerProvider($faker));

echo $faker->articleTitle;
echo $faker->articleContent
echo $faker->articleContentMarkdown

If you have any questions let me know, and if you'd like to contribute be my guest! Submit pull requests!, (*9)

The Versions

23/02 2017

dev-master

9999999-dev

Generate random blog article titles and content (including markdown) using faker

  Sources   Download

MIT

The Requires

 

The Development Requires

fixtures faker data news blog article

28/02 2016

dev-develop

dev-develop

Generate random blog article titles and content (including markdown) using faker

  Sources   Download

MIT

The Requires

 

The Development Requires

fixtures faker data news blog article

28/02 2016

1.0.0

1.0.0.0

Generate random blog article titles and content (including markdown) using faker

  Sources   Download

MIT

The Requires

 

The Development Requires

fixtures faker data news blog article