Here is a list of 10 excellent php classes you should defenitly consider using into your next projects. Not only will it speed up your process of development, because you won’t have to write it yourself, but it will allow you to focus on more important parts of your project and save you a lot of time and trouble.
One of the things that can make your scripts really hard to read and take up much space are inline HTML tags. This helper class makes it possible to write inline html tags in a really simple an clean way.
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.
Keygen is a PHP class that can be used to generate random numbers, strings and serial numbers. The class has 3 methods that you can use: random, serial, customSerial.
you already worked with files and directories in PHP then you will know that the default copy, delete(unlink) functions are ok to use on files but when you want to delete or copy a directory with content in it, it’s an whole other story. This class gives you the ability to easily delete, create, move, copy files and directories with content.
The key to a stable and secure application or website is data validation. Validating things like email addresses, numbers, and other data can be very time consuming and add a lot of extra lines of code to your website if you want to do it the right way. This class can make the data validation part of website development a lot easier.
PHPexcel provides a set of classes for the PHP programming language, which allow you to write to and read from different file formats, like Excel 2007, PDF, HTML, …
php user class is an easy to use php snippet for user manipulation (register, login, etc.) for your php & MySQL driven applications. The aim of this project is to provide a generic class that can be used by any developer no matter what are the needs of the project that is going to be used.
This class can cleanup harmful text from request parameters. It can check a given parameter value of $_GET, $_POST or $_REQUEST super-global variables and remove certain types of text values that are usually used to perform SQL injection attacks.
This class can extract text between two text sections. It can search a given text for a given start text. The class can return the text contained between the initial text and another final text.