PHP Classes

Welcome to the PHP Classes Repository

Recommend this page to a friend!

Featured Articles

Featured Classes

1. How to Decode MD5 in PHP with the Class PHP MD5 Decrypter
Decrypt MD5 password and hashes with MD5Decryter
2. PHP Report
Generate Excel, HTML, PDF reports from data arrays
3. How to Add Datepicker in PHP Form with PHP date picker class
Generate form input to pick a calendar date
4. PHP Chat Script with Database using Simple chat
Simple Web and MySQL based chat system
5. Dynamic Pagination in PHP with MySQL Example with PHP Pagination Bootstrap
Show pagination of MySQL results for Bootstrap
6. How can PHP Read Excel File xlsx format using Simple XLSX
Parse and retrieve data from Excel XLS files
7. How can PHP Extract Text from PDF using PHP PDF to Text
Extract text contents from PDF files
8. PHP MySQL Report Generator
Generate HTML report from MySQL query result data
9. Simple REST Server
Implement REST based Web services
10. PHP Push Notification Android and iOS
Send push notifications to Android and iOS devices
11. PHP Detect Country and City
Get the current user location using
12. Mobile Verification
Generate a verification code for a mobile number
13. PHP Serial
Communicate with a serial port
14. Bootstrap PHP Comment System with MySQL
Comments system with replies and like buttons
15. Barcode Generator
Web interface to generate barcode images
16. English to Arabic Number
Convert numbers to Arabic representation
17. PHP Barcode 128 Generator
Generating Code 128 bar code images
18. PHP TTS Solution with PHP Text to Speech Class
Generate speech audio to say a given text
19. PHP Video Converter with ffmpeg
Convert videos between formats with ffmpeg program
20. Secure PHP Login System
Register and login users using a database via PDO
21. Cripto PHP
Encrypt and decrypt PHP source code files
22. PHP MySQL to MySQLi
Replace mysql functions using the mysqli extension
23. Basic Excel
Import and export Excel files to XLS, XLSX and CSV
REST API server with MySQLi based CRUD operations
25. YouTube API
Get the video download URL using the YouTube API
26. PHP Compare Images Similarity
Compare two images to find if they are similar
27. PHP Vulnerability Scanner
Scan script files for malicious code
28. PHP Notification System
Store and retrieve user notifications in MySQL
29. How to Create a PHP Captcha Decoder with PHP OCR Class
Recognize text & objects in graphical images
Convert PDF to HTML using Poppler
31. PHP OAuth Library
Authorize and access APIs using OAuth
32. PHP License Key Generator
Generate and validate license key serial numbers
33. RSA
Encrypt and decrypt data with RSA public keys
34. How to Convert DOC to TXT using PHP DOC DOCX PDF to Text Converter
Convert DOCX, DOC, PDF to plain text
35. AES Cipher
Encrypt and decrypt data with AES in pure PHP
36. PHP TreeView
Display a collapsible tree from a MySQL query
37. Easy Website Translation Script
Translate pages automatically using jQuery plug-in
38. Quick CSV import
Import CSV data into a MySQL database table
39. QR code generator
Generate QR Code images using Google Chart API
40. kmessaging
MySQL based private messaging system
41. PHP PDO database class
Access databases using PDO
42. PDF Text Extractor
Extract text from PDF files
43. HTML to PDF
Convert HTML to PDF using Web services
44. TOTP
Generate and validate expirable one time passwords
45. PHP SMS Authentication
Authenticate users once using codes sent via SMS
46. MySql To Excel
Export data from a MySQL database to Excel files
47. PDF to image converter using PHP
Convert PDF documents to images using Ghostscript
48. How can PHP Convert HTML to Word with HTML to DOC Converter
Convert HTML into Microsoft Word documents
49. Amazon API Access with PHP and XML
A PHP XML class to access Amazon API they released
50. Mac Address
Retrieve the Mac address of a network card

Looking for JavaScript scripts?

Look at JS Classes site JavaScript

PHP Classes in Google+ Google+

Featured Class Articles

1. 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
2. How to Convert MySQL to MySQLi PHP Code to Upgrade to PHP7 Doing the PHP MySQL MySQLi Migration
3. PHP Secure Login Script 2016 and 2017 - Tutorial for a Complete Login System PHP MySQL with PDO Solution
PHP Secure Login and Registration
4. 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
5. 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
6. How can PHP Generate PDF from HTML Page
Convert HTML to PDF PHP Library
7. 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
8. How Can PHP Read Email Inbox and Have PHP Process Incoming Email
POP3 e-mail client
9. 4 Ways to Access an API using OAuth Without User Interaction - OAuth2 Automatic Login with Facebook, Google or Any Other API
PHP OAuth Library
10. PHP Phone Number Validation with Country Code
Free Phone Number Verification in PHP
11. 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
12. PHP OAuth Tutorial on How to Use a Pure PHP OAuth Class with an Example Without using the PECL module Implementation
PHP OAuth Library
13. 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
14. Free PHP Currency Conversion API Script with Source Code to Get Forex Exchange Rates
PHP Exchange Rate API
15. 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
16. PHP Mail Alternative Setting PHP SMTP Server to Use Gmail, Hotmail or Yahoo
MIME E-mail message sending
17. PHP Sentiment Analysis Code Part 1: N-gram based PHP Text Analysis
PHP Sentiment Analyzer
18. How to Read Your Inbox Retrieving Email Messages using PHP from Gmail, Hotmail and Yahoo via POP3
POP3 e-mail client
19. The Fastest Ways to Deliver Email in PHP
MIME E-mail message sending
20. 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

Latest classes

Class Days
MySQL Class Generator
Generate classes to access MySQL as objects
PHP Slack Bot
Robot to automate interactions with Slack users
Simple MySQLi Class
MySQL access abstraction layer using MySQLi
PHP CURL Component
Compose and execute HTTP requests with Curl
PHP Elastic Search for MySQL
Index and search MySQL records with Elastic Search
PHP Wallpaper Download

Upload, list and display wallpaper images
PHP ODT Template SQL Reports

Generate report from MySQL data using ODT template
PHP Get Locale from CountryCode

Determine locale language from country code
Manage the execution of multiple parallel tasks
PHP Binary Stream
Parse extract data from binary files

Featured Recommended Classes

1. mlm dynamic binary tree code in PHP and MySQL
mlm dynamic binary tree
2. I need a PHP class for face matching
Solution to match faces from uploaded pictures
3. Encrypt PHP file and run encrypted file on the browser
Encrypt PHP script file
4. What is the best PHP fingerprint matching class?
Match user fingerprint
5. Convert Emoji Charaters
I want to replace Emoji Characters
6. What is the best PHP crud class?
How to create CRUD with PHP
7. php code for download files
i want to write code in php to download any type of files
8. Keywords search on multiple table fields of a MySQL database
Search two fields of MySQL database for multiple keywords
9. What is the best PHP pdf to excel class?
PDF to Excel library converter
10. Google Docs using PHP
Interact with Google Docs
11. Extract PDF to text and XML
I need to parse a PDF file and convert whole text into XML
12. Create Rest API using PDO
i want to create web API using PDO and json for mobile app
13. What is the best PHP xlsx writer class?
Export to Excel
14. Very Fast Curl class
The fastest Curl class
15. Schedule SMS in month, day, hours, minutes and seconds
Schedule SMS sending
16. What is the best PHP encrypt decrypt classes class?
Secure Encryption and Decryption of classes
17. Resume Parser API
Document parse and populate forms and database
18. Good backup/restore MySQL
Script to backup and restore databases
19. Integrate wit ai API
PHP class to integrate wit ai API
20. What is the best PHP telnet class?
Automated access to server via telnet