Monthly Archives: March 2015

Text file read and write 

March 29, 2015
By

Text file class Author: Loris Barbiero Description:This is a simple class that can read and write text files. It can perform several operations with files like reading whole files intoa string or an array, write or append text to a file, rename, copy, moveand delete files. URL: http://www.phpclasses.org/package/9075.html Support forum: http://www.phpclasses.org/discuss/package/9075/

Read more »

Server request port

March 19, 2015
By

HTTP Server Class Author: wapmorgan Description:This package implements a HTTP server that can take virtual host requests. It can listen to HTTP requests in a given port of the local machine andhandle the requests serving files of the server machine. The server can handle requests to multiple virtual host names according todefinitions read from...

Read more »

Snake game

March 18, 2015
By

Snake Game Author: Tomas Pavlatka Description:This class can manage and process the moves in a snake game. It can initialize the snake game and process sequences of moves in givendirections. The class returns the result of whether the snake survived traversing thegiven path of directions. URL: http://www.phpclasses.org/package/9053.html Support forum: http://www.phpclasses.org/discuss/package/9053/

Read more »

MySQL database fill random data

March 14, 2015
By

Database Fill Author: Martin Latter Description:This class can fill records of MySQL tables with test data. It takes the SQL dump file of a MySQL database and parses it to extract thelist of database tables. The class executes SQL statements to insert records on the MySQL databasetables. The new record field values can be...

Read more »

Web console

March 13, 2015
By

PHP Web Console Author: Matthew Knowlton Description:This class can Execute PHP commands on a console Web page inspired by theChromium JavaScript console. It can execute given PHP code and other console commands and stores HTML todisplay the results on session variables. The class can output the responses of the requested console commands asresponse to...

Read more »

SQL sanitizer

March 8, 2015
By

SQL Sanitizer for MySQL Author: Adeeyo Sulaiman Adesola Description:This class can encode literal values to use in MySQL SQL queries. It takes a given literal value of a given type and encodes it so it can beused safely in MySQL queries. The class supports SQL data types: text, date, long, integer, double. Text values...

Read more »

Curse filter

March 8, 2015
By

PHP Curse Filter Author: Omar Benchbana Description:This is a simple class that can filter curse words. It takes a given text string and replaces some known curse words forcensored versions of those words. URL: http://www.phpclasses.org/package/9045.html Support forum: http://www.phpclasses.org/discuss/package/9045/

Read more »

GIT repository

March 5, 2015
By

Git Library Provider Author: Maik Greubel Description:This class is a wrapper around the git command to manipulate Gitrepositories. It can execute the git command to execute several types of operations withGit repositories. Currently it can: - Create a repository- Set the repository name and author- Check if repository files are staged- Commit changed files-...

Read more »

CSV to MySQL

March 5, 2015
By

PHP CVS to MySQL Import Author: Charles Hays Description:This package can import data from CSV files to MySQL SQL dump files. It can parse a given CSV file and extract the data values to generate afile with SQL statements to insert the values in a MySQL table. It uses a special configuration file to...

Read more »

Distance calculation between addresses or lat/long using Google maps API

March 3, 2015
By

PHP Distance Calculator Author: Tariqul Islam Description:This class can calculate the distance between two places with the GoogleMaps API. It can take the address of two locations and sends HTTP requests to theGoogle Maps API to retrieve the distance to be traversed to go from onelocation to the other. The calculated distance can be...

Read more »