2017 © Pedro Peláez
 

library ocra-lorem-module

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

image

ocramius/ocra-lorem-module

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

  • Wednesday, September 5, 2012
  • by Ocramius
  • Repository
  • 1 Watchers
  • 14 Stars
  • 2,039 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

OcraLoremModule - Lorem Ipsum Generator for ZF2

Installation

  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

Usage

In your view scripts, simply write following, (*1)

<?php
echo $this->lorem();
// 10000 lorem!
echo $this->lorem(10000);
````


[LoremPixel](http://lorempixel.com/) is also supported:

```php
<?php
echo $this->loremPixel();

Will produce something like, (*2)

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

Will produce something like, (*3)

Dummy Text, (*4)

The Versions

05/09 2012

dev-master

9999999-dev http://ocramius.github.com/

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

  Sources   Download

MIT

The Requires

 

zf2 lorem ipsum

05/09 2012

0.1.1

0.1.1.0 http://ocramius.github.com/

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

  Sources   Download

MIT

The Requires

 

zf2 lorem ipsum

13/08 2012

0.1.0

0.1.0.0 http://ocramius.github.com/

Module that provides Lorem Generator utilities for ZendFramework 2 Applications

  Sources   Download

MIT

The Requires

 

zf2 lorem ipsum