PHP projects
Here is a list of some of the PHP classes, libraries and scripts made by me. All of the scripts on this page are completely free and released under the GPL license.
Practical PHP Testing Exercise Solutions (2009)
Description: Practical PHP testing is a short (but excellent) book about unit testing in PHP written by Italian software engineer Giorgio Sironi. It advocates using the PHPUnit testing framework, but it can be easily adopted to other programming languages and testing frameworks.
On the URL bellow you can find my solutions to the TDD exercises found in this book.
Because I am pretty sure that there is always room for improvement and not all of my solutions are the best, feel free to fork the repository and refactor the code (when you are done, don't forget to leave your comment at this post so we can all check the code and hopefully learn something from it).
Github URL: http://github.com/Kami/practical-php-testing-exercise-solutions
Multi Storage Cache (2009)
Description: Multi Storage Cache is simple caching abstraction library written in PHP which supports different storage mechanisms.
Github URL: http://github.com/Kami/Multi-Storage-Cache
Wiki URL: http://wiki.github.com/Kami/Multi-Storage-Cache
Features:
- Offers unified API for caching data using different storage mechanisms:
- APC (Alternative PHP Cache),
- eAccelerator
- XCache
- memcached (memcache or memcached PHP extension),
- SQLite3 database and
- flat file
- It emulates retrieving and storing multiple items at once, if this isn't supported natively by the extension
CodeIgniter phpBB3 Library (2009)
Description: A library which among some other cool features gives you access to phpBB3 user sessions inside your CodeIgniter applications.
Download URL: phpbb_library_1.0.zip
CodeIgniter.com URL: http://codeigniter.com/wiki/phpBB3_library/
Features:
- Access phpBB3 user sessions inside your CodeIgniter applications
- Add user to group
- Send user a private message
- Post a new topic
- Get the groups that a given user is a member of
- Check if a user is a member of the given user group
None
Simple Twitter (2009)
Description: A simple class for fetching your Twitter updates, finding updates which match the search query and more (none of the action requires user authentication).
Download URL: SimpleTwitter_1.0.zip
PHP Classes URL: http://www.phpclasses.org/browse/package/5571.html
Features:
- Get your or your friends status messages, find updates matching the search query, get your account information (links in the status messages can automatically be formated for the display on the web site)
- Using Twitter API
- Usage example is included
Tee Worlds Server Statistics (2009)
Description: A simple class for fetching information about currently running Tee Worlds Server.
Download URL: TeeWorldsServerStats_1.0.zip
PHP Classes URL: http://www.phpclasses.org/browse/package/5557.html
Features:
- The following information is available: server name, version, ping, map name, current number of players, maximum number of players and list of the users who are currently playing on the server.
- Two examples are included
Slovenia Movie Showtimes (2007)
Description: A simple class for fetching movie showtimes for cinemas in Slovenia from napovednik.com.
Download URL: SloveniaMovieShowtimes_1.1.zip
PHP Classes URL: http://www.phpclasses.org/browse/package/5564.html
Features:
- The following information is retrieved (if available) for each cinema in the specified city: movie title, basic information (genre, year, language and duration), URL to a page with a summary and timings
- Example script is included
Kolosej Parser (2007)
Description: A simple class for fetching information about movie from kolosej.si.
Download URL: KolosejParser_1.1.zip
PHP Classes URL: http://www.phpclasses.org/browse/package/5559.html
Features:
- The following information is retrieved (if available): original and Slovene movie title, genre, duration (in minutes), year, language, screenplay, director, IMDB link, trailer link (apple.com) and summary.
- Example script is included







