andrefigueira/blog-article-faker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

andrefigueira/blog-article-faker

最新稳定版本:1.0.0

Composer 安装命令:

composer require andrefigueira/blog-article-faker

包简介

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

README 文档

README

Build Status Total Downloads

Generates titles and content for blog articles using faker

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.

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...

Installation

Run the following:

composer require andrefigueira/blog-article-faker

Or add the following to your composer file:

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

And then run:

composer install

Usage

You can now use this FakerProvider with Faker to produce your fake article titles and content:

$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!

统计信息

  • 总下载量: 14.98k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固