PHP Classes

MadLibs: Add a 'madlibs' game to your Web site.

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 874 All time: 4,024 This week: 673Up
Version License Categories
madlibs 1.0Free for non-comm...Games, Content management
Description 

Author

This class allows you to easily add a madlibs game to your Web site.

You can load the madlib stories in via the file system or a database.

The stories are chosen at random, and a form will be shown to the user to fill in their own words.

You can use a few css styles to control how things look (madlibTable, madlibTitle, madlibStory, and madlibWord).

Picture of Andrew Collington
  Performance   Level  
Name: Andrew Collington <contact>
Classes: 16 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (5)  
File Role Description
Plain text file class.madlibs.php Class The main class file
Accessible without login Plain text file example-story-beach.txt Data An example of a story file if you coose to use the file system to store your stories.
Accessible without login Plain text file example-story-mall.txt Data An example of a story file if you coose to use the file system to store your stories.
Accessible without login Plain text file schema.sql Data An example of the MySQL schema and data for if you choose to use a database to store your stories.
Accessible without login Plain text file test.madlibs.php Example An example of using the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:874
This week:0
All time:4,024
This week:673Up