PHPackages                             classmarkets/lipsum-generator - 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. classmarkets/lipsum-generator

AbandonedLibrary

classmarkets/lipsum-generator
=============================

Lorem Ipsum generator in pure PHP, offline. Capable of generating html, formated and unformatted plain text.

702PHP

Since Feb 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/classmarkets/LipsumGenerator)[ Packagist](https://packagist.org/packages/classmarkets/lipsum-generator)[ RSS](/packages/classmarkets-lipsum-generator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

About
=====

[](#about)

[![Build Status](https://camo.githubusercontent.com/7a8a0d4101947b2ea143afbe6f4bc3922a24a7fae93b8820381257d1d156f85f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f636c6173736d61726b6574732f4c697073756d47656e657261746f722e706e67)](http://travis-ci.org/classmarkets/LipsumGenerator)

This is a [Lorem ipsum](http://www.lipsum.com/) generator written in PHP. It is based on the work of Mathew Tinsley and has been refactored so it can be used as a composer module and to match the PSR codestyle. The original code is at [the very first commit](https://github.com/classmarkets/LipsumGenerator/commit/aa7d9690c7cfddb029004f4b03e15d0f1a44dca9).

Text generation is based on a fixed dictionary, and randomized using a Gaussian distribution of the word length. Supported output formats are HTML paragraphs (``), preformatted and unformated plain text. Words per paragraph and number of paragraphs can be configured.

Once again, all credits for the implementation go to Mathew Tinsley.

Usage:
======

[](#usage)

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/classmarkets/LipsumGenerator"
        }
    ],
    "require": {
        "classmarkets/lipsum-generator": "*"
    }
}
```

```
