An open API service indexing awesome lists of open source software.

https://github.com/jbroadway/lorem

Lorem ipsum generator for the Elefant CMS.
https://github.com/jbroadway/lorem

Last synced: about 2 months ago
JSON representation

Lorem ipsum generator for the Elefant CMS.

Awesome Lists containing this project

README

        

# Lorem Ipsum generator

App to generate lorem ipsum text for testing and prototyping in the
[Elefant CMS](http://www.elefantcms.com/).

## Installation

Unzip into your Elefant `apps` folder.

## Usage

In a view template:

{! lorem/h1 !}
{! lorem/p/2 !}

Generates:

Lorem ipsum dolor sit amet


Lorem ipsum...


Integer sed...

From PHP:

A number can be passed to each method or appended to each handler call to specify
the number of words or paragraphs or list items to include.

Supported methods:

* `Lorem::p()` aka `lorem/p`
* `Lorem::ul()` aka `lorem/ul`
* `Lorem::ol()` aka `lorem/ol`
* `Lorem::h1()-h6()` aka `lorem/h1-h6`