PHPackages                             shiyan/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. shiyan/lorem-ipsum

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

shiyan/lorem-ipsum
==================

The Lorem Ipsum string manipulations.

0.1.0(8y ago)010MITPHPPHP ^5.3 || ^7.0

Since Nov 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mikeshiyan/lorem-ipsum)[ Packagist](https://packagist.org/packages/shiyan/lorem-ipsum)[ RSS](/packages/shiyan-lorem-ipsum/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Lorem Ipsum
===========

[](#lorem-ipsum)

[![Build Status](https://camo.githubusercontent.com/3ed23826453bf0a54a2f5a3a0c8e13abfd236ef585afa7c8cefa79aad1aa8dc8/68747470733a2f2f7472617669732d63692e6f72672f6d696b6573686979616e2f6c6f72656d2d697073756d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mikeshiyan/lorem-ipsum)

PHP class with a lot of static methods to manipulate the *Lorem Ipsum* string in various ways.

Can be used as a [Composer](https://getcomposer.org) library.

Requirements
------------

[](#requirements)

- PHP ≥ 5.3 (PHP 7.\* is recommended)

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

[](#installation)

To add this library to your Composer project:

```
composer require shiyan/lorem-ipsum

```

Usage
-----

[](#usage)

```
use Shiyan\LoremIpsum\LoremIpsum;

// Echo the whole Lorem Ipsum string.
echo LoremIpsum::THE_STRING . "\n\n";

// Get the 4 Lorem Ipsum sentences with:
$sentences = LoremIpsum::getSentences();
// Or get a specific sentence with:
$sentence = LoremIpsum::getSentence(32);

// Do the same with just words:
$words = LoremIpsum::getWords();
$word = LoremIpsum::getWord(1024);

// Have fun supplying any built-in or user-defined function as a static method
// to the class. The Lorem Ipsum string will be prepended to the argument list:
echo LoremIpsum::str_shuffle() . "\n\n";
echo LoremIpsum::strtr(array("a" => "å", "o" => "ö", "." => "¿")) . "\n\n";
echo LoremIpsum::strrev() . "\n\n";
echo LoremIpsum::str_repeat(5) . "\n\n";
echo LoremIpsum::strtoupper() . "\n\n";

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

3091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0eef0320768b8d176b9014442390bfa3bfec9369cba3b9e663a66dac57ac0084?d=identicon)[mikeshiyan](/maintainers/mikeshiyan)

---

Tags

composeripsumloremmanipulationsoopphpstringphpstringmanipulationsOOPloremipsum

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)[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)
