Browse free open source PHP Libraries and projects below. Use the toggles on the left to filter open source PHP Libraries by OS, license, language, programming language, and project status.

  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Start Free
  • Save Up to 91% on Cloud Compute With Spot VMs Icon
    Save Up to 91% on Cloud Compute With Spot VMs

    Automatic sustained-use discounts. One free VM per month. No negotiation needed.

    Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
    Start Free
  • 1
    multiOTP open source

    multiOTP open source

    PHP strong authentication library, web interface & CLI, OATH certified

    multiOTP is a PHP class, a powerful command line utility and a web interface developed by SysCo systèmes de communication sa in order to provide a completely free and easy operating system independent server side implementation for strong two factors authentication solution. multiOTP supports hardware and software tokens with different One-Time Password algorithms like OATH/HOTP, OATH/TOTP and mOTP (Mobile-OTP). QRcode generation is also embedded in order to support provisioning of Google Authenticator software tokens. SMS code sending is currently implemented for several providers (ASPSMS, Clickatell and IntelliSMS). The data storage of the command line utility is by default flat files based in order to simplify deployment in a few minutes, but MySQL backend is supported too. multiOTP can be easily integrated in RADIUS servers like FreeRADIUS under Linux/Windows or TekRADIUS LT under Windows. multiOTP is also the engine of the credential provider multiOTP Credential Provider.
    Downloads: 22 This Week
    Last Update:
    See Project
  • 2

    Mysql using Mysqli

    Pure PHP implementation of mysql_* functions based on mysqli_*

    If you want to migrate to PHP7 but you have old programs based on the old mysql_* functions you can import this file and all of them will be available. See https://sourceforge.net/projects/ereg-using-pcre/ too
    Downloads: 8 This Week
    Last Update:
    See Project
  • 3
    Flat-file SQL (fSQL) is a set of classes available in PHP that allows users without SQL database servers to select and manipulate flat-file data using SQL queries. fSQL is designed to support as many SQL queries and features as it can.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 4
    wxPHP

    wxPHP

    PHP bindings for the cross-platform GUI library wxWidgets.

    wxPHP is a php binding/wrapper for the cross-platform library wxWidgets, which gives you the ability to develop desktop applications using the php programming language. This applications can be executed on windows, linux and macosx using the same code base with a native look and feel. One of the ideas is that you can use your php web applications code base and logic to create native desktop applications that communicate to them transparently. This way you can give your users a seamless and native experience from the desktop while staying in sync with your web apps. There are many more use cases, but we invite you to download and try this project by your self. We hope everyone can enjoy it as much as we have enjoyed developing it.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 99.99% Uptime for MySQL and PostgreSQL Databases Icon
    99.99% Uptime for MySQL and PostgreSQL Databases

    Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

    Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
    Start Free
  • 5
    PHPCrawl is a high configurable webcrawler/webspider-library written in PHP. It supports filters, limiters, cookie-handling, robots.txt-handling, multiprocessing and much more.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 6
    PHP4sack
    A PHP encapsulation of the AJAX sack library so that developers need only code in PHP to implement AJAX, Feedback will be good to improve this component set. Now supporting cross browser drag and drop events, no other library dependencies.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 7

    lib-php-digest

    A PHP implementation of the HTTP Digest model.

    A library designed to implement HTTP Basic and Digest authentication in a PHP environment with minimal coding.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 8

    DBPersister

    Manage your database without sql

    DBPersister started in 2011 with few lines of code to enhance the way to develop crud applications by php users. DBPersister is an Open Source project with LGPL licence , which means that is possible to reach hundreds of people all over the world working on it with the possibility to edit the code depending own needs. About DBPersister On this site you can download and use a list of libraries in all your php projects that use mysql as database. To do use this libraries you need mysqli extension installed on your web host without any other components. What You Can Use DBPersister For You can use DBPersister to manage data from your database to your application. You can do all boring operations like : load single record save single record (insert, update, replace) delete single record and many others operations without writing SQL code by yourself.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 9
    Reporting engine library written in C. Create one XML file and generate PDF, HTML, TXT, and CSV reports based on queries. Has support for MySQL, PostgreSQL, ODBC. Bindings for PHP, Java, Python.
    Downloads: 4 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 10

    Ganizor

    The First Dual AS3/PHP Library

    Ganizor is an enterprise style system built for both the client and server side. Ganizor will allow developers on both ends to communicate and develop independently. Ganizor AS3 allows both designers and Flash developers to interact in brand new ways, with designers now having the ability to transfer designs directly to developers as both interactive and creative assets. Ganizor PHP then further allows both the Flash and Server Side developers to interact as information can now be passed and controlled via both AS3 and PHP.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 11

    PHP AutoLoad

    Extensible PSR-0 compatible class autoloader for PHP 5.3+

    The AutoLoad class allows you to use a PSR-0 compatible approach to autoloading classes using namespaces for PHP 5.3+.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 12

    email-checker-php-sdk

    PHP SDK to connect with Easy Email Verification API and validate email

    The Email Checker PHP SDK is part of the Easy Email Verification - URL Checker ecosystem, designed to help developers integrate real-time email verification into their PHP applications. It uses the Easy Email Verification API to validate if an email address is real, active, and safe to use. The SDK performs domain and MX record checks, SMTP validation, and detection of disposable or role-based addresses. It provides a lightweight and reliable cURL-based implementation that returns structured JSON responses. This project is officially maintained by Easy Email Verification Ltd. For technical documentation and API reference, visit https://www.easyemailverification.com
    Downloads: 3 This Week
    Last Update:
    See Project
  • 13
    ** Guys I have built a much more powerful Fully Featured CMS system at: https://github.com/MacdonaldRobinson/FlexDotnetCMS Macs CMS is a Flat File ( XML and SQLite ) based AJAX Content Management System. It focuses mainly on the Edit In Place editing concept. It comes with a built in blog with moderation support, user manager section, roles manager section, SEO / SEF URL
    Leader badge
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    phprbac

    phprbac

    PHP Role Based Access Control library

    RBAC (role based access control) is the de-facto standard in authorization and access control, because its much easier to maintain and use than traditional ACLs. Unfortunately due to its complicated internals, not many implementations are available. PHP RBAC is compatible with NIST Level 2 RBAC standard and provides even more, with best performance yet available for any authorization library, and its for PHP. Note: Development and support has been moved to Github (https://github.com/OWASP/rbac). New releases will continue to be released here on SF.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 15
    This libpurple PHP binding, which defines a set of internal classes, gives a possibility to use aol and icq (oscar), yahoo, msn, jabber, irc and much more protocols directly from PHP. Write your own IM chat client in PHP, as simply as PHP enables it.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    ZBus - message bus for PHP applications Manages API messaging between application flow and plugins.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17

    FCKEditor plugins

    The plugins for FCKEditor you cant find online

    The idea with the project is to develop all those plugins for FCKEditor that cant usually be found on internet. Size doesn't matter!
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    Neural Libs

    Neural Libs

    Neural network library for developers

    This project includes the implementation of a neural network MLP, RBF, SOM and Hopfield networks in several popular programming languages. The project also includes examples of the use of neural networks as function approximation and time series prediction. Includes a special program makes it easy to test neural network based on training data and the optimization of the network.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19

    PHP Design by Contract

    Base class for PHP 5.3+ which allows design by contract in PHP

    PHP Design by Contract provides a basic implementation of contract programming in PHP 5.3+. The base Contract class allows new or existing classes to define properties as protected Attributes and methods as Routines, which require argument type/class validation, aswell as PreCondition and PostCondition checks. Instances can also check for state consistency with an invariant check.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    Zero Site Protector

    Zero Site Protector

    Human verification & attack prevention for website security

    The zero-site-protector plugin is a powerful security tool for your website that provides multiple layers of protection to safeguard against unauthorized access and potential attacks. The plugin includes features such as human verification, which ensures that only legitimate users are able to access your site. It also includes protection against various types of attacks such as cross-site scripting (XSS) and SQL injection. Additionally, the plugin allows you to block access to your site from certain geographical regions, IP addresses, and browsers, providing an extra layer of security. It also has a badword sensor feature which will censor inappropriate words from user input. All in all, the zero-site-protector plugin offers a comprehensive security solution for your website, helping to keep your site and its users safe and secure.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21

    ereg using pcre

    Pure PHP implementation of POSIX functions based on PCRE

    If you want to migrate to PHP7 but you have old programs based on the old ereg_* functions you can import this file and all of them will be available. See https://sourceforge.net/projects/mysqlwithmysqli/ too.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 22
    An short but powerfull framework for PHP 5+. based in the Model View Controller (MVC), it can use Mysql, Microsoft Sql Server and partially Oracle
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    API Allociné Helper is support for using the API of Allociné, of Screenrush, of Sensacine and of Filmstarts: find lots of information about movies, people, etc.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    AQAL makes easy to access data on DBs without know SQL. It implements Business Object/Manager pattern: Object maps table, builds SQL syntax, carries data; Manager performs queries, handles Objects (conveniently extended by Application Business Objects).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    ASP.PHP is an implementation of ASP in, yes, PHP. The current release is nowhere near complete, and there are some parts of ASP that are impossible to implement in pure PHP. It is designed to reduce the gap between the two languages.
    Downloads: 0 This Week
    Last Update:
    See Project