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.

  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Start Free
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 1
    Odtphp2pdf is a simple GPL set of PHP5 classes and services that wraps odtphp and unoconv. It provides a simple way to produce PDF documents based on OpenOffice document templates. It was initiated by Ready Business Software (http://www.rbs.fr).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    PROJECT UNDER DEVELOPMENT. Brief: Object oriented approach for composing mails in PHP for example making complex header modification
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    php xHTML

    php xHTML

    PHP Class to control xHTML STRICT

    This Class for PHP controls xHTML strict documents, creation, and validation The idea is to made things easy and small, avoid errors or mistypes, helps with IDs / forms/ and tags. The point is to focus on PHP and forget if we close a tag, forgot to set a special required attribute or if we wrote the header correctly, the class take care of that Also made the creation of custom, normal used, and repetitive tasks easy
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    php-clamav
    PHP ClamAV - ClamAV Interface for PHP5 Scripts PHP-ClamAV is a PHP5 extension that allows to incorporate virus scanning features on your PHP5 scripts. It uses the Clam AV API for virus scanning.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Go from Code to Production URL in Seconds Icon
    Go from Code to Production URL in Seconds

    Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

    Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
    Start Free
  • 5
    php-file-iterator

    php-file-iterator

    FilterIterator implementation that filters files

    php-file-iterator is a small library that walks directory trees and yields files matching include/exclude rules, commonly used to discover test files. It supports filtering by suffixes or prefixes (for example, “Test.php”) to keep selection deterministic. Exclusion lists help you skip vendor directories, VCS folders, or generated artifacts that would otherwise slow down tools. The iterator interface means results are streamed rather than loaded at once, which keeps memory usage modest on large codebases. It also plays nicely with glob patterns and SPL iterators, so you can combine it with other filesystem utilities. As part of the PHPUnit tooling suite, it’s optimized for speed and predictable behavior across platforms.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    PHP-Index uses a plain text file as an index for a efficient search on data. The index is a simple ordered list, so a binary search can be performed. Current implementation supports a XML document as database.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Majix is just a base class, for simplifying php objects stored in a mysql database. You start with an empty database, and Majix automajixally creates tables and adds columns as needed, on the fly.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    PhpBB3 auth for Atlassian's crowd.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    A PHP library to generate and verify Italian national identification number. Una libreria PHP per calcolare e verificare la validità di codici fiscali.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Train ML Models With SQL You Already Know Icon
    Train ML Models With SQL You Already Know

    BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

    Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
    Start Free
  • 10
    A Zend Framework component for interacting with Desire2Learn's SOAP web service.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    Object-oriented API (Database Abstraction Layer) for integrating external PHP5 applications with the Elluminate Live! synchronous communication and e-learning software.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    phpLDAPauth

    phpLDAPauth

    A simple PHP library for LDAP authentication

    ###### phpLDAPauth has moved to Bitbucket ###### ###### Please visit the BitBucket page at https://bitbucket.org/viharm/phpldapauth ###### phpLDAPauth provides a simple library for LDAP authentication.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    phpMSWordParser provide mail merge capability to generate Word (.docx format) document. Your PHP application can dynamically generate Word document from a template file.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14

    phpMySOAP

    php-based SOAP Server for MySQL databases

    This project is a PHP-based SOAP server which provides mainly MySQL data to a SOAP client. It exposes all available DB objects (views and tables) to any SOAP client based on NuSOAP's SOAP server.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    phpSec
    Project moved to GitHub: https://github.com/xqus/phpSec
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    phpbcl8

    phpbcl8

    PHP8 Backwards Compatibility Library (phpBCL)

    This package provides functions of newer PHP8 versions for older versions. It provides scripts that implement functions only available in newer PHP versions as functions built-in in the PHP core engine. The parts work in older PHP8 versions. A main script checks the current PHP8 version and loads that implement the functions of newer PHP8 versions.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    phpfreebase
    A Php class library to query and write data to the Freebase Open Database. System.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    PHPOpenDocument is a PHP librairy designed to use OpenDocument file as a template for PHP. It's a kind of PHPLib for OpenOffice document.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    phpunit/php-timer

    phpunit/php-timer

    Utility class for timing

    php-timer is a tiny utility library that provides high-resolution timing for PHP scripts, originating from the PHPUnit ecosystem. It wraps PHP’s underlying timing functions to give consistent start/stop measurements even across different PHP versions and environments. The library’s API is intentionally small so you can drop it into tests, benchmarks, and command-line tools without overhead. Beyond raw seconds, it can format durations into human-readable strings, which is especially handy for reporting test suite performance. It supports multiple timers, letting you measure nested or labeled segments of code independently. Because it is dependency-light and thoroughly battle-tested through PHPUnit usage, it’s a reliable choice for profiling micro-benchmarks and long-running tasks alike.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    poemist-php-api-wrapper

    poemist-php-api-wrapper

    PHP API Wrapper for Poemist.com API

    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    PHP error and exception handling class. To simplify error and exception handling, converts errors into exceptions. Adds 'nice' error message box for final user and developer full error data including execution trace. Plus some helping methods
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    purpleGecko libraries are a set of PHP libraries that you can use to easily build web applications.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    qJerry: write less, do more - now in PHP. qJerry is the PHP class that provides a way to work with XML documents in jQuery-like style. It has methods for creating, modifying, querying XML documents and more. qJerry is jQuery for server side.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    ramsey/uuid

    ramsey/uuid

    A PHP library for generating universally unique identifiers (UUIDs)

    ramsey/uuid is a PHP library for generating and working with RFC 4122 version 1, 2, 3, 4, and 5 universally unique identifiers (UUID). ramsey/uuid also supports optional and non-standard features, such as version 6 UUIDs, GUIDs, and other approaches for encoding/decoding UUIDs. A universally unique identifier, or UUID, is a 128-bit unsigned integer, usually represented as a hexadecimal string split into five groups with dashes. The most widely-known and used types of UUIDs are defined by RFC 4122. The probability of duplicating a UUID is close to zero, so they are a great choice for generating unique identifiers in distributed systems. UUIDs can also be stored in binary format, as a string of 16 bytes. The JSON extension is normally enabled by default, but it is possible to disable it. Other required extensions include PCRE and SPL. These standard extensions cannot be disabled without patching PHP’s build system and/or C sources.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    randlib is a collection of PHP functions for generating random strings.
    Downloads: 0 This Week
    Last Update:
    See Project