Loremipsum Generator Codeigniter Library

Overview

This library is intended to boost productivity and shorten the time need for templating websites or web apps. It generates placeholder text also known as loremipsum. The library has 21 functions to make generating placeholders fast and easy. Words database contains over 3300+ latin words. This makes it impossible to generate two same paragraphs or sentences making the placeholder text look realistic.

Features

  • Generate array of  N random words
  • Generate paragraph of custom length
  • Generate a sentence of custom length
  • Generate array of paragraphs
  • Generate array of sentences
  • And many more “fast” functions that dont take any parameters for faster and easier generation of placeholders.

Requirements

  • CodeIgniter 2.x or 3.x
  • php >= 5.4

Instructions

Installation:

  • Copy the loremipsum_model.php file from downloaded assets folder to
    the models folder in your Codeigniter Project : application->models.
  • Copy the Generate_loremipsum.php file from downloaded assets folder
    to the libraries folder in your Codeigniter Project : application->libraries.
  • Import the loremipsumi.sql file to your MySQL database as a table and name it
    “loremipsumi”.

Usage is covered in attached documentation file.

Related