This package is abandoned and no longer maintained. No replacement package was suggested.

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

0.1.1 2012-09-05 20:52 UTC

This package is auto-updated.

Last update: 2019-02-20 19:28:01 UTC



  1. Add "ocramius/ocra-lorem-module": "dev-master" to your composer.json
  2. Run php composer.phar install
  3. Enable the module in your config/application.config.php by adding OcraLoremModule to modules


In your view scripts, simply write following

echo $this->lorem();
// 10000 lorem!
echo $this->lorem(10000);

LoremPixel is also supported:

echo $this->loremPixel();

Will produce something like

<img src="http://lorempixel.com/640/480/" alt="Lorem Pixel"/>
echo $this->loremPixel(300, 200, false, 'sports', 'Dummy Text', 2);

Will produce something like

Dummy Text