PHPackages                             filsecker/lorem-ipsum - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. filsecker/lorem-ipsum

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

filsecker/lorem-ipsum
=====================

Lorem ipsum generator with german language option.

v1.0.2(10y ago)0211MITPHPPHP &gt;=5.3.9

Since Mar 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Filsecker/LoremIpsum)[ Packagist](https://packagist.org/packages/filsecker/lorem-ipsum)[ RSS](/packages/filsecker-lorem-ipsum/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (1)

Modification for personal use of of [geecu/LoremIpsum](https://github.com/geecu/LoremIpsum)
===========================================================================================

[](#modification-for-personal-use-of-of-geeculoremipsum)

Reason
------

[](#reason)

- Playing around with php-packages and use with github for laravel+compose
- Improved random number generator for word selection, ca. three times faster and better randomness using mt\_rand function
- Added German language text.

install using composer:
=======================

[](#install-using-composer)

composer require filsecker/lorem-ipsum

Basic Usage and Description
---------------------------

[](#basic-usage-and-description)

The german version is based upon the translated latin text by Marcus Tullius Cicero

- Function getContent:

Call of getContent will return a 'Lorem Ipsum' text in the selected format 'html', 'plain' or 'txt'. default value is 'html' Format 'plain' is without parahraphs. 'txt' means intend paragraphs and line breaks.

Parameters:

- $wordsPerParagraph .. used when you generate a loreipsum-text with a specified word count. maximum value, exact paragraph words count varies.
- $format .. see description before ( 'html', 'plain' or 'txt' )
- $loremipsum .. boolean, if set to true paragraphes will begin with 'Lorem Ipsum'
- $language .. available languages are 'latin' and 'german', default parameter value is 'latin'

    $generator = new Filsecker\\LoremIpsum\\LoremIpsumGenerator($wordsPerParagraph=100,$language='latin'); $numbOfWords=1000; $format = 'html'; $loremipsum = true;

    echo $generator-&gt;getContent($numbOfWords, $format, $loremipsum);
- Function getParagraphs($nrOfParagraphs,$format='array',$loremipsum=true)

allowed formats are 'array' for a php array as return value and 'html' and 'txt'.

example: $generator-&gt;getParagraphs(3,'html',true ) ;

you can also adjust for paragraph length using two parameters for mean and standard deviation of the number of sentences(showing default values:)

getParagraphs($nrOfParagraphs=1,$format='array',$loremipsum=true, $paragraphMean = 5, $paragraphStDev = 2)

Live URL
--------

[](#live-url)

none available, just a library

Outside code
------------

[](#outside-code)

-

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~0 days

Total

3

Last Release

3743d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14238842?v=4)[Filsecker](/maintainers/Filsecker)[@Filsecker](https://github.com/Filsecker)

---

Top Contributors

[![Filsecker](https://avatars.githubusercontent.com/u/14238842?v=4)](https://github.com/Filsecker "Filsecker (12 commits)")

### Embed Badge

![Health badge](/badges/filsecker-lorem-ipsum/health.svg)

```
[![Health](https://phpackages.com/badges/filsecker-lorem-ipsum/health.svg)](https://phpackages.com/packages/filsecker-lorem-ipsum)
```

PHPackages © 2026

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