badcow / lorem-ipsum
Lorem ipsum generator.
Installs: 268 787
Dependents: 7
Suggesters: 1
Security: 0
Stars: 7
Watchers: 2
Forks: 3
Open Issues: 1
Requires
- php: >=5.3.9
Suggests
- twig/twig: Twig is a template language for PHP, released under the new BSD license (code and documentation).
This package is auto-updated.
Last update: 2024-10-29 04:41:50 UTC
README
Library for generating lorem ipsum text. Bonus Twig extension! This has been changed around a bit from the original geecu/LoremIpsum.
Build Status
Basic Usage
$generator = new Badcow\LoremIpsum\Generator();
$paragraphs = $generator->getParagraphs(5);
echo implode('<p>', $paragraphs);
Installation
Using composer
//composer.json
"require": {
"badcow/lorem-ipsum": "dev-master"
}