PHPackages                             sumpygump/rumble-text - 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. sumpygump/rumble-text

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

sumpygump/rumble-text
=====================

Generate random text. Strings, digits, words, phrases, sentences, etc. To be used as placeholder text.

1.0.6(3y ago)026MITPHP

Since Jul 4Pushed 4mo agoCompare

[ Source](https://github.com/sumpygump/rumble-text)[ Packagist](https://packagist.org/packages/sumpygump/rumble-text)[ RSS](/packages/sumpygump-rumble-text/feed)WikiDiscussions master Synced 3d ago

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

Rumble Text
===========

[](#rumble-text)

Rumbletext is a simple PHP library for generating random text.

My intent was to make a library suitable for generating placeholder (lorem ipsum) text. It uses a primitive algorithm for making pronouncable words. It comes with some various lettersets for use in probabilities of vowel and consonant distribution to assist in this.

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

[](#installation)

To install, use composer with the following command:

```
composer require sumpygump/rumble-text

```

Usage
-----

[](#usage)

### As a library

[](#as-a-library)

The primary usage of this library is to use it as a service in a PHP project. Instantiate an instance of the class `RumbleText` and call the various functions like `generateRandomWord()`. This will return an random generated word.

Example:

```
