PHP Classes

floMessages: Generate random texts from multiple message lists

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 yet rated by the usersTotal: 306 All time: 7,363 This week: 673Up
Version License Categories
flomessages 1.0Free for non-comm...Text processing
Description 

Author

This is a simple class that can be used to generate random text messages.

It provides means to build multiple lists of text messages. Then it can pick a random message from on of the lists that was built.

It could be useful in an Adlib type application or in an environment requiring numerous random textual responses.

It can also be used to store a combination of random and single response aliases for use in a language file.

The language files could be saved to a file by serializing an object of this class.

Picture of Joshua hatfield
Name: Joshua hatfield <contact>
Classes: 10 packages by
Country: United States United States
Age: 46
All time rank: 20223 in United States United States
Week rank: 206 Down24 in United States United States Down
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files (4)  
File Role Description
Plain text file floMessages.php Class Random message class file.
Accessible without login Plain text file sample.php Example An example file showing how to use floMessages.
Accessible without login Plain text file serial.txt Data serialized instance of floMessage
Accessible without login Plain text file serial_sample.php Example Example using a serial input

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:306
This week:0
All time:7,363
This week:673Up