PHPackages                             grandt/phplipsum - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. grandt/phplipsum

ActiveLibrary[Testing &amp; Quality](/categories/testing)

grandt/phplipsum
================

LipsumGenerator can be used to create garbeled, non repetitive 'chapters' using the standard Lorem Ipsum text as a basis. It'll try to generate reasonable well looking paragraphs in the chapters.

1.2.1(10y ago)143LGPL-2.1HTMLPHP &gt;=5.3.0

Since Nov 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Grandt/PHPLipsumGenerator)[ Packagist](https://packagist.org/packages/grandt/phplipsum)[ Docs](https://github.com/Grandt/PHPLipsumGenerator)[ RSS](/packages/grandt-phplipsum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHPLipsumGenerator
==================

[](#phplipsumgenerator)

Create garbled, non repetitive "chapters" using the standard Lorem Ipsum text as a basis.

License
-------

[](#license)

LGPL 2.1

### Guide

[](#guide)

The intention is to help debug or test text input, by being quickly able to generate vast amounts of non predictable text.

The user can set the source text to something different than the original Latin Lorem text, if desired.

To use the class, simply call generate with these parameters, all of which are optional:

- $minWordCount (integer) Default: 200.
- $maxWordCount (integer) Default: 2000.
- $useMultipleParagraphs (boolean) Generate a text with multiple paragraphs. Default: TRUE.
- $startWithLorem (boolean) Will start each chapter with the text "Lorem ipsum dolor sit amet, consectetur adipisicing elit.", the length of which is subtracted from the $minWordCount. Used to help identify the place holder text for what it really is. Default: TRUE.
- $indent (String) Indentation of each new paragraph in the generated text. Default: " " (two spaces).
- $eol (String) End of line sequence. Default: The Windows new line sequence ("\\r\\n").

generateHTML is a convenience method, identical to generate, but where $indent="&lt;p&gt;" and $eol="&lt;/p&gt;\\r\\n".

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3851d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/617ced39b5ad622d3e86329053bfa3749718e8597b2fcb8137cb40b796b8604a?d=identicon)[Grandt](/maintainers/Grandt)

---

Top Contributors

[![Grandt](https://avatars.githubusercontent.com/u/1094427?v=4)](https://github.com/Grandt "Grandt (9 commits)")

---

Tags

testLorem ipsum

### Embed Badge

![Health badge](/badges/grandt-phplipsum/health.svg)

```
[![Health](https://phpackages.com/badges/grandt-phplipsum/health.svg)](https://phpackages.com/packages/grandt-phplipsum)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[hamcrest/hamcrest-php

This is the PHP port of Hamcrest Matchers

7.0k484.1M109](/packages/hamcrest-hamcrest-php)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78611.9M97](/packages/zenstruck-foundry)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33812.5M350](/packages/brain-monkey)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
