Below I have put together some useful PHP class for developers. This class is ready to be combined with the popular framework or working alone. You will find several classes such as PDF converter, CSS parser, XML, creating zip, video downloader from YouTube and others.
My favorite class is: fast speed IP locator, where the user simply enter an IP address and this class will determine the address and google map.
TCPDF
A professional PHP class for generating PDF files on-the-fly, a powerful solution with over ten years of development under its belt
PHP CSS Parser
A PHP class for reading CSS files and extracting CSS code out of them, making them available as PHP objects to various data processing applications
SimpleLogger
A PHP class that can be used in logging the output of PHP-based applications, helping developers track and debug their app’s performance
CssToInlineStyles Class
A PHP class for converting normal HTML pages into pages with inline CSS styles
mPDF
A PHP class for rendering HTML content as PDF output
CSource
A PHP class for displaying source code inside a Web page, complete with a syntax highlighting theme and support for multiple file formats
array-to-csv
A PHP class for converting a PHP array into a CSV data structure, ideal for exporting the content of a PHP app to a more wide-spread format
FastSpeedIpLocator
See from where your site’s visitors are coming from with this small PHP class that converts IP addresses into real geographical locations
StormTwitter
A PHP class for interacting with Twitter
Minify
A set of PHP classes for minifying CSS and JavaScript code, ideal for optimizing your code for usage in production-ready environments
PHPZip
A PHP class for creating archives in ZIP format
SimpleCrypt
A PHP class for adding cryptography support to your Web applications via PHP’s MCrypt extension, securing sensitive content when needed
yt_downloader
An open source PHP class that can download YouTube videos (the audio track, thumbnail image, and various details) to your own computer
php-videoGet
An open source PHP class for retrieving meta data information about a video, supporting well known services like Vimeo and YouTube
Craur
A PHP-based XML to JSON converter, and vice-versa
mysql-search-replace
An open source, lightweight and easy to use PHP class for searching and replacing a piece of text across an entire MySQL database
phpFastCache
A PHP class that can serve as a generic interface for multiple caching systems, helping developers improve their site’s performance by taking some load off their databases
phpMyGraph
This is a PHP script that can be used to render several types of charts and graphs
Amazon S3 PHP Class
This is a PHP class for uploading files to an Amazon S3 account
URL Normalizer
This is a PHP class to normalize URL strings, following the RFC 3986 recommendation
mp3Data
A PHP class to extract MP3 meta data from the song’s header, leveraging this information to provide a more customized, personal user experience on a site or MP3 player
Php Reports
A PHP framework for building Web applications for processing and displaying reports and statistics from any type of data sources
Gantti
An open source PHP graphing utility for creating Gantt charts, working using PHP and HTML 5 alone, with no JavaScript code at all