Useful PHP Classes & Libraries For Fast Development

PHP is the most popular scripting language that has been widely used in the web development. You can find loads of resources that include documentations, tutorials, tools and other such resources about PHP on the internet. PHP has made it quite easier for the developers to create a better web environment. PHP is a feature rich language that allows you to accomplish several tasks by default. There are many resources for PHP as well to further help the developers.

In this compilation, you will unearth some of useful and of course free to use high quality PHP classes and libraries that will help you with creating good looking charts, form validation, parsing feeds, better image or database handling and more. Here is the list. Enjoy!

Php Fast Cache

PhpFastCache is a high-performance, distributed object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.


pChart is a PHP class oriented framework designed to create aliased charts.


Munee is a PHP5.3 library to easily on-the-fly compile LESS, SCSS, or CoffeeScript, resize/manipulate images on-the-fly, minify CSS and JS, and cache assets locally and remotely for lightening fast requests. No need to change how you include your assets in your templates.


A simple PHP Gantt Class.


whoops is an error handler base/framework for PHP. Out-of-the-box, it provides a pretty error interface that helps you debug your web projects, but at heart it’s a simple yet powerful stacked error handling system.

Php Image Cache

Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file, move it to a new directory, and returns the new source for the image.


An open-source PHP library for image manipulation.


Imagine is a OOP library for image manipulation built in PHP 5.3 using the latest best practices and thoughtful design that should allow for decoupled and unit-testable code.

Php Image Workshop

PHP Image Workshop is an open source class using GD library that helps you to manage images with PHP.


Better error reporting for PHP, and prettier too!


Detector is a simple, PHP- and JavaScript-based browser- and feature-detection library that can adapt to new devices & browsers on its own without the need to pull from a central database of browser information.


Opauth is a multi-provider authentication framework for PHP, inspired by OmniAuth for Ruby.

Mobile Detect

Mobile Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Swift Mailer

Swift Mailer integrates into any web app written in PHP 5, offering a flexible and elegant object-oriented approach to sending emails with a multitude of features.

Ratchet Websocket For Php

Ratchet is a PHP library to let developers create real-time, bi-directional apps between clients and servers over WebSockets. It makes building event-driven apps (rather than traditional HTTP request/response apps) quick and easy.


HybridAuth enables developers to easily build social applications and tools to engage websites visitors and customers on a social level by implementing social sign-in, social sharing, users profiles, friends list, activities stream, status updates and more.


phpThumb() uses the GD library to create thumbnails from images (JPEG, PNG, GIF, BMP, etc) on the fly. The output size is configurable (can be larger or smaller than the source), and the source may be the entire image or only a portion of the original image.


Requests is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries.


HTML Purifier is a standards-compliant HTML filter library written in PHP.


CakePHP makes building web applications simpler, faster and require less code.


FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.


ADOdb is a database abstraction library for PHP.


The reCAPTCHA PHP Library provides a simple way to place a CAPTCHA on your PHP website, helping you stop bots from abusing it. The library wraps the reCAPTCHA API.


MagpieRSS provides an XML-based (expat) RSS parser in PHP.


Sajax is an open source tool to make programming websites using the Ajax framework — also known as XMLHTTPRequest or remote scripting — as easy as possible. Sajax makes it easy to call PHP, Perl or Python functions from your webpages via JavaScript without performing a browser refresh.

Php Excel

Project providing a set of classes for the PHP programming language, which allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, … This project is built around Microsoft’s OpenXML standard and PHP.


GeSHi started as an idea to create a generic syntax highlighter for the phpBB forum system, but has been generalised to this project.


The most awesome validation engine ever created for PHP.

Php Data Grid

Simple, innovative and powerful tool for generating data-bound grid control, specially designed for web developers.


PHPUnit is a programmer-oriented testing framework for PHP.It is an instance of the xUnit architecture for unit testing frameworks.

Projects Text To Image

This script is a means to convert a string of text into an image. This has some simple uses such as displaying text such as email address that cannot be programmatically found.

Country From IP

Country From IP: Lookup the country of a given IP address.

Php powerpoint

Project providing a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like PowerPoint 2007, … This project is built around Microsoft’s OpenXML standard and PHP.


phpRack Integration Testing Framework.


PHP5 library that provides a filesystem abstraction layer – will be a feast for your files!


A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.


Underscore.php is a PHP port of the popular Underscore.js library. In addition to porting Underscore’s functionality, Underscore.php includes matching unit tests. Underscore.php requires PHP 5.3 or greater.


PHP5 library allowing thumbnail, snapshot or PDF generation from a url or a html page.