PHP Classes

Welcome to the PHP Classes Repository

Recommend this page to a friend!

Featured Articles

PHP YouTube Downloader Script 2017 that Works - How to Download a Video of Any Website using a Converter from YouTube to MP4 or Convert to MP3
How Can PHP Compare Two Images for Similarity
Best WordPress Security Plugin 2017 and 2016 - Comparison of Free and Commercial Versions of New Plugins and Support Services
The Best PHP Books 2017 and 2016
How to Create a PHP CAPTCHA Solver with a PHP OCR Class
The Best PHP IDE 2017 and 2016 Comparison - The Most Popular Editors for Development under Windows, Mac and Linux either Open Source, Free or Commercial
How to Create a Simple PHP CMS Tutorial with SEO Friendly URL PHP Generated Links
Leaflet Search Map using PHP MySQL AJAX requests
Using PHP MySQL with Google Maps Alternative using the Leaflet library
How Can PHP Import Excel to MySQL using an PHP XLSX Reader and Excel XLSX Converter
PHP Webcam Capture Image Database PHP Script to take Photo Picture from Camera
PHP Word Document Generator to Convert HTML to DOCX Part 1: Using VS PHP Word HTML class or PHPDocX Example
What Are PHP Classes - PHP OOP Example Project on How to Use a Class in PHP
PHP Performance Comparison 2017 and 2016 - PHP Benchmark Script to Figure How Each PHP Version Compare in Speed Improvements between PHP 5 vs PHP 7.0 vs 7.1 with OpCache vs PHP 8 or PHP 7.2 with a PHP JIT Features
Google Search API PHP Example Tutorial with Demo to Get the First Web Pages and Images as a JSON Array
How to make a PHP PDF Search Engine as well Read DOCX, DOC, PDF Document File or Content String to Convert to Text
MySQL vs MySQLi vs PDO Performance Benchmark, Difference and Security Comparison in 2016 and 2017 - Find Converter Wrapper and ORM Packages

Featured Classes

1. How can PHP Read Excel File xlsx format using Simple XLSX
Parse and retrieve data from Excel XLS files
2. How to Decode MD5 in PHP with the Class PHP MD5 Decrypter
Decrypt MD5 password and hashes with MD5Decryter
3. PHP Report
Generate Excel, HTML, PDF reports from data arrays
4. PHP Serial
Communicate with a serial port
5. PHP Chat Script with Database using Simple chat
Simple Web and MySQL based chat system
6. How can PHP Extract Text from PDF using PHP PDF to Text
Extract text contents from PDF files
7. How to Add Datepicker in PHP Form with PHP date picker class
Generate form input to pick a calendar date
8. Dynamic Pagination in PHP with MySQL Example with PHP Pagination Bootstrap
Show pagination of MySQL results for Bootstrap
9. PHP Barcode 128 Generator
Generating Code 128 bar code images
10. PHP Detect Country and City
Get the current user location using
11. PHP MySQL Report Generator
Generate HTML report from MySQL query result data
12. PHP Video Converter with ffmpeg
Convert videos between formats with ffmpeg program
13. Bootstrap PHP Comment System with MySQL
Comments system with replies and like buttons
14. English to Arabic Number
Convert numbers to Arabic representation
15. PHP Telegram Bot
Send and receive messages to Telegram users
16. Simple REST Server
Implement REST based Web services
17. Mobile Verification
Generate a verification code for a mobile number
18. Basic Excel
Import and export Excel files to XLS, XLSX and CSV
Convert PDF to HTML using Poppler
20. PHP License Key Generator
Generate and validate license key serial numbers
21. PHP Compare Images Similarity
Compare two images to find if they are similar
22. PHP OAuth Library
Authorize and access APIs using OAuth
23. QR code generator
Generate QR Code images using Google Chart API
24. Easy Website Translation Script
Translate pages automatically using jQuery plug-in
25. PHP MLM Binary Tree
Build multi-level marketing tree from member forms
26. PHP Vulnerability Scanner
Scan script files for malicious code
27. AES Cipher
Encrypt and decrypt data with AES in pure PHP
28. Barcode Generator
Web interface to generate barcode images
29. PHP HTML Excel
Convert HTML to Excel spreadsheets
30. PHP SMS Authentication
Authenticate users once using codes sent via SMS
31. MySql To Excel
Export data from a MySQL database to Excel files
REST API server with MySQLi based CRUD operations
33. PHPMailer
Full featured email transfer class for PHP
34. PHP TTS Solution with PHP Text to Speech Class
Generate speech audio to say a given text
35. How can PHP Convert HTML to Word with HTML to DOC Converter
Convert HTML into Microsoft Word documents
36. How to Create a PHP Captcha Decoder with PHP OCR Class
Recognize text & objects in graphical images
37. RSA
Encrypt and decrypt data with RSA public keys
38. kmessaging
MySQL based private messaging system
39. Instagram API integration with PHP
Access an Instagram user account with its API
40. PHP PDO database class
Access databases using PDO

Looking for JavaScript scripts?

Look at JS Classes site JavaScript

PHP Classes in Google+ Google+

Featured Class Articles

1. PHP Secure Login Script 2016 and 2017 - Tutorial for a Complete Login System PHP MySQL with PDO Solution
PHP Secure Login and Registration
2. How to Convert MySQL to MySQLi PHP Code to Upgrade to PHP7 Doing the PHP MySQL MySQLi Migration
3. PHP Chat System Tutorial on How to Create an AJAX and PHP Chat Application - Make a Live Chat Room or a One to One Chat Box in PHP Source Code using MySQL and jQuery
AJAX driven simple chat
4. How can PHP Generate PDF from HTML Page
Convert HTML to PDF PHP Library
5. How to Protect PHP Source Code Free, Open Source and Commercial Solutions - Source Code Protection Software Obfuscator, Encoding to Encrypt and Secure Applications Code
PHP Application Packer
6. How to Create a Simple PHP Shopping Cart Tutorial Step by Step Part 1: Add to Cart in PHP Example Source Code with AJAX, jQuery and MySQL - Demo Script using a Basket stored in Session Variables
Shopping Cart
7. How to Use Termux Tutorial Running PHP Web Server or CLI with Termux PHP App to Control an Android Phone or Tablet
PHP Termux API
8. PHP Screenshot Script to Take a Webpage Screenshot - How to Create a Full Print Screen Snapshot Thumbnail Using the URL of a Website
PHP Ultimate Web Page Capture
9. How Can PHP Read PDF File Content and Extract Text from PDF using PHP - How Can PHP Extract Image from PDF and Search PDF Content using PHP PDFToText Class
PHP PDF to Text
10. PHP Phone Number Validation with Country Code
Free Phone Number Verification in PHP
11. 4 Ways to Access an API using OAuth Without User Interaction - OAuth2 Automatic Login with Facebook, Google or Any Other API
PHP OAuth Library
12. AJAX Shopping Cart with jQuery and PHP and MySQL Part 2: How to Remove and Add to Cart in PHP code with AJAX using a Simple PHP Checkout Script
Shopping Cart
13. Free PHP Currency Conversion API Script with Source Code to Get Forex Exchange Rates
PHP Exchange Rate API
14. Chrome ERR_BLOCKED_BY_XSS_AUDITOR PHP Solution to Avoid Bogus Cross-Site Scripting Detection
Secure HTML parser and filter
15. How Can PHP Read Email Inbox for Inbound Mail Processing and Have PHP Process Incoming Email
POP3 e-mail client
16. Fast PHP Mass Mail Script Smart Optimizations for a PHP Bulk Email Script
MIME E-mail message sending
17. PHP OAuth Tutorial on How to Use a Pure PHP OAuth Class with an Example Without using the PECL module Implementation
PHP OAuth Library
18. PHP Mail Alternative Setting PHP SMTP Server to Use Gmail, Hotmail or Yahoo
MIME E-mail message sending
19. Encrypt Post Data PHP Solution without SSL - How to Encrypt Form Data Before Submit
PHP Form Encryption
20. How to Send Message and Interact with PHP Web Site Users using SMS, WhatsApp, Facebook or Telegram Using their Web API with Example
PHP Telegram CLI Wrapper

Latest classes

Class Days
PHP Bot Protection
Detection of bot users asking predefined questions

Convert CSV files to DBase format
PHP Form Validation
Validate values of several types
Random key value pair authentication

Authenticate human users using random value pairs
PHP Session MySQL Handler
Handler for storing session data in MySQL