PHPackages                             bgaze/ipsum-html - 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. bgaze/ipsum-html

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

bgaze/ipsum-html
================

A PHP utility to generate Lorem Ipsum HTML 5

1.0.1(5y ago)11.1k↓100%MITPHPPHP &gt;=7.0

Since Apr 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bgaze/ipsum-html)[ Packagist](https://packagist.org/packages/bgaze/ipsum-html)[ RSS](/packages/bgaze-ipsum-html/feed)WikiDiscussions master Synced 1mo ago

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

IpsumHtml
=========

[](#ipsumhtml)

IpsumHtml is a PHP utility that allows to generate Lorem Ipsum HTML 5.

> The HTML5 reference used to build this lib is https://developer.mozilla.org/en-US/docs/Web/HTML/Element.
> No support for any older version of HTML is planned.

Installation
------------

[](#installation)

Simply install the library using composer:

```
composer require bgaze/ipsum-html

```

Basic usage
-----------

[](#basic-usage)

To quickly generate Lorem Ipsum HTML, import the `IpsumHtml` class into your script, then use it statics methods to generate what you need.

```
use Bgaze\IpsumHtml\IpsumHtml;

// Generate 50 random html blocks.
$array = IpsumHtml::random(50);

// Generate a full webpage containing 100 random html blocks and print it prettyfied.
echo IpsumHtml::webpage(100);

// Generate and display a HTML table with 4 colums and 10 rows, then print it minified.
echo IpsumHtml::table(4, 10)->minify();
```

Documentation
-------------

[](#documentation)

IpsumHtml ships three main classes which all methods are statics:

- **Bgaze\\IpsumHtml\\IpsumHtml:** creates HTML nodes randomly populated with Lorem Ipsum text.
- **Bgaze\\IpsumHtml\\Html:** creates HTML nodes. They can be manipulated fluently, minified and prettyfied.
- **Bgaze\\IpsumHtml\\Ipsum:** generates random Ipsum Ipsum text.

There are three types of HTML nodes, handled by a dedicated class:

- **Bgaze\\IpsumHtml\\Nodes\\PlainText:** used to handle plain text sections of HTML structures.
- **Bgaze\\IpsumHtml\\Nodes\\Comment:** used to handle the special HTML comment tag.
- **Bgaze\\IpsumHtml\\Nodes\\Node:** used to handle any other HTML tag.

You can find documentation into following sections:

- [Bgaze\\IpsumHtml\\IpsumHtml](doc/ipsum-html.md)
- [Bgaze\\IpsumHtml\\Html](doc/html.md)
- [Bgaze\\IpsumHtml\\Ipsum](doc/ipsum.md)
- [Nodes documentation](doc/nodes.md)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~412 days

Total

2

Last Release

2179d ago

PHP version history (2 changes)1.0.0PHP ^5.3.3 || ^7.0

1.0.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f4a5f965ee3485d7f2c78450a371d363027a7f10935d6559869874a584d5402?d=identicon)[bgaze](/maintainers/bgaze)

---

Top Contributors

[![bgaze](https://avatars.githubusercontent.com/u/985214?v=4)](https://github.com/bgaze "bgaze (106 commits)")

---

Tags

phpfakerHTML5loremipsum

### Embed Badge

![Health badge](/badges/bgaze-ipsum-html/health.svg)

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

###  Alternatives

[smknstd/fakerphp-picsum-images

Alternative image provider for fakerphp using picsum.photos

45218.1k3](/packages/smknstd-fakerphp-picsum-images)[apoutchika/loremipsum-bundle

Generate paragraphs, sentences and words for your development.

1259.8k](/packages/apoutchika-loremipsum-bundle)

PHPackages © 2026

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