- Here you can find some useful PHP classes that are free on the net, and helpful for PHP Web Developers, to create and add easily various elements in your web site.

  1. PDO_MySQLi
    - PHP class to connect to MySQL and perform easily and safe SQL queries, using any of PDO, or MySQLi extensions.
  2. Read Excel file data in PHP - PhpExcelReader
    - PHP class that can be used to read Excel file data without Microsoft Office. It supports both XLS and XLSX types.
  3. PHPMailer
    - Free Email Transfer Class for PHP, supporting mail(), SMTP and POP3, HTML messages, attachments.
  4. dompdf
    - HTML to PDF converter. Create PDF files with PHP, convert HTML document to PDF.
  5. PHP Simple HTML DOM Parser
    - A HTML DOM parser written in PHP5+. This class let you manipulate HTML in a very easy way, find tags on an HTML page with selectors just like jQuery.
  6. EasyPhpThumbnail Class
    - A Free PHP class for creating thumbnails. EasyPhpThumbnail allows you to handle image manipulation and generate thumbnails for GIF, JPG and PNG on-the-fly. Resize, crop, rotate, flip, save as, shadow, watermark, reflection, and more..
  7. parseCSV
    - PHP class to read and write easily CSV data. Can filter the CSV by conditions, store CSV data into an array, convert array to CSV data.
  8. GraidleChart Create Graphic Charts
    - Lightweight PHP graphing class that creates and displays several types of graphical diagrams / charts: vertical or horizontal bar, line, spider, or pie graphs used especially in statistics, for incorporation into a website or application.

If God wants, new Free PHP Classes will be added soon.

Daily Test with Code Example

Which attribute indicates that an input field must be filled out before submitting?
required="required" autofocus="autofocus" placeholder="text"
<input type="text" name="name1" required="required" />
Which CSS method increases or decreases the size of the HTML element (including its content)?
translate() scale() skew()
#some_id:hover {
  transform: scale(2, 1.5);
  -ms-transform: scale(2, 1.5);    /* IE 9 */
  -moz-transform: scale(2, 1.5);   /* Firefox */
Click on the Date object method that returns the day of the month.
setDate() getMonth() getDate()
var rightnow = new Date();
var day = rightnow.getDate();
Which function is used to upload a file on server?
is_file() move_uploaded_file() fopen()
if(move_uploaded_file($_FILES["field_name"]["tmp_name"], "dir/file_name")) {
  echo "The file succesfully uploaded";
Useful PHP Classes

Last accessed pages

  1. JavaScript Trivia Game (746)
  2. PHP OOP - Final Classes and Methods (580)
  3. Variables and Data Types (715)
  4. The Stage, Panels and Tools in Flash (538)
  5. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (7676)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (7887)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (7676)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (7380)
  4. PHP Chat Script (6772)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (6742)