- 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 tag is a block element?
<div> <img> <span>
<div>Web Programming and Development</div>
Which CSS code displays the text underlined?
font-style: italic; text-decoration: underline; font-weight: 500;
h2 {
  text-decoration: underline;
Click on the JavaScript function that can access other function after a specified time.
insertBefore() setTimeout() querySelector()
function someFunction() { alert("CoursesWeb.net"); }
setTimeout("someFunction()", 2000);
Click on the instruction that returns the number of items of a multidimensional array in PHP.
count($array) count($array, 1) strlen()
$food = array("fruits" => array("banana", "apple"), "veggie" => array("collard", "pea"));
$nr_food = count($food, 1);
echo $nr_food;       // 6
Useful PHP Classes

Last accessed pages

  1. Display / Simulate a Loading Progress Bar (358)
  2. AJAX with GET and PHP (1467)
  3. Get Mouse coordinates inside a Div or an Image (1710)
  4. AJAX and Forms (359)
  5. AJAX with POST and PHP (2425)

Top accessed pages

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