PHP Classes

Flex Lorem: Generate bogus content to test page layouts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-08-18 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 248 All time: 7,073 This week: 1,435Up
Version License PHP version Categories  
flex-lorem 0.1GNU General Publi...5HTML, PHP 5, Text processing
Description Author  

This class can generate bogus content to test page layouts.

It takes an HTML template and replaces marked sections it with bogus content, tipically with Latin text with words like lorem, ipsum, etc..

The class supports some pre-defined template elements that allow determining the way the template text should be replaced, like text, paragraphs, headlines, images, etc..

Additional plugin classes can be used to customize the way the text is generated.

Innovation Award  
PHP Programming Innovation award nominee
August 2012
Number 6

Prize: One copy of VS.PHP
One common way to test page layouts is to fill the content areas with random content.

Often Latin text is used fill in layout spaces so you can see how it looks.

This class can generate random Latin text and fill marked templates with the generated text that will be used to preview the layout to be tested.

Manuel Lemos
Picture of Tom Schaefer
Name: Tom Schaefer is available for providing paid consulting. Contact Tom Schaefer .
Classes: 39 packages by
Country: Germany Germany
Age: ???
All time rank: 1109 in Germany Germany
Week rank: 98 Up4 in Germany Germany Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageplugins (2 files)
Plain text file element.php Class html element creator used by lorem and its plugins
Plain text file lorem.php Class main class
Accessible without login Plain text file readme.txt Doc. read me
Accessible without login Plain text file test.php Example test script and showcase
Accessible without login Plain text file testplugin.php Example example for plugin creator

  Files folder image Files  /  plugins  
File Role Description
  Plain text file image.php Class image plugin
  Plain text file text.php Class text plugin

 Version Control Unique User Downloads Download Rankings  
 0%Total:248All time:7,073
 This week:0This week:1,435Up