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
  • $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
    Wordpress plugin for Gowalla API
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Goutte

    Goutte

    Goutte, a simple PHP Web Scraper

    Goutte is a screen scraping and web crawling library for PHP. Goutte provides a nice API to crawl websites and extract data from the HTML/XML responses. Goutte depends on PHP 7.1+. Add fabpot/goutte as a require dependency in your composer.json file. Create a Goutte Client instance (which extends Symfony\Component\BrowserKit\HttpBrowser). Make requests with the request() method. The method returns a Crawler object (Symfony\Component\DomCrawler\Crawler). To use your own HTTP settings, you may create and pass an HttpClient instance to Goutte. For example, to add a 60 second request timeout. Read the documentation of the BrowserKit, DomCrawler, and HttpClient Symfony Components for more information about what you can do with Goutte. Goutte is a thin wrapper around the following Symfony Components: BrowserKit, CssSelector, DomCrawler, and HttpClient.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3

    Grid Alx

    Library Grid for Codeigniter

    GridAlx es un grid que ayuda a facilitar mostrar datos de tablas y haciendo filtros, mediante tablas con limits. Todo esto con Ajax. Requiere un poco de configuracion pero ya que le entiendas, sera de gran utilidad. ------------------------ GridAlx is a grid that helps facilitate display data from tables and making filters, using tables with limits. All this with Ajax. Requires some settings but since you understand, will be of great use.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    HTML to PDF est un génerateur de fichiers PDF.
    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
  • 5
    Hashids

    Hashids

    A small PHP library to generate YouTube-like IDs from numbers

    Hashids is a small open-source library that generates short, unique, non-sequential ids from numbers. It converts numbers like 347 into strings like “yr8”, or array of numbers like [27, 986] into “3kTMd”. You can also decode those ids back. This is useful in bundling several parameters into one or simply using them as short UIDs. Hashids works similarly to the way integers are converted to hex, but with a few exceptions. The alphabet is not base16, but base base62 by default. The alphabet is also shuffled based on salt. We need ids to be nice and friendly especially if they end up being in the URL. Therefore, the algorithm tries to avoid generating most common English curse words by never placing the following letters (and their uppercase equivalents) next to each other. There are no collisions because the method is based on integer to hex conversion. As long as you don't change constructor arguments midway, the generated output will stay unique to your salt.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Hateoas

    Hateoas

    A PHP library to support implementing representations

    A PHP library to support implementing representations for HATEOAS REST web services.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    Hoa\Ruler

    Hoa\Ruler

    The Hoa\Ruler library.

    Hoa is a modular, extensible, and structured set of PHP libraries. Moreover, Hoa aims to be a bridge between the industrial and research worlds. This library allows to manipulate a rule engine. Rules can be written by using a dedicated language, very close to SQL. Therefore, they can be written by a user and saved in a database.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    This is a class that provides Hyphenation capabilities
    Downloads: 0 This Week
    Last Update:
    See Project
  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Start Free
  • 10
    IMAP Library for Laravel

    IMAP Library for Laravel

    Integrate both the native php-imap module and an extended custom imap

    Laravel IMAP is an easy way to integrate both the native php-imap module and an extended custom imap protocol into your Laravel app. This enables your app to not only respond to new emails but also allows it to read and parse existing mails and much more. PHP-IMAP is a wrapper for common IMAP communication without the need to have the "native" php-imap module installed/enabled. The IMAP protocol is completely integrated and therefore supports all IMAP commands including the IDLE operation and the "new" oAuth authentication process. You can enable the php-imap module in order to handle edge cases, and improve message decoding quality, and is required if you want to use legacy protocols such as pop3.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    Instantiator

    Instantiator

    A small, lightweight utility to instantiate objects in PHP

    This library provides a way of avoiding usage of constructors when instantiating PHP classes. The suggested installation method is via composer. The instantiator is able to create new instances of any class without using the constructor or any API of the class itself. The PHPUnit version to be used is the one installed as a dev- dependency via composer. This library was migrated from ocramius/instantiator, which has been donated to the doctrine organization, and which is now deprecated in favour of this package. Accepted coverage for new contributions is 80%. Any contribution not satisfying this requirement won’t be merged.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Iteration primitives using generators

    Iteration primitives using generators

    Iteration primitives using generators

    Iteration primitives using generators is a PHP library that provides iteration primitives implemented with generators. It offers familiar functional operations such as map, filter, reduce, zip, chain, slice, take, drop, flatten, and chunk for arbitrary iterable values. Unlike many array-only helpers, it accepts arrays, traversables, iterators, and aggregates. Because the operations are lazy, it can process sequences without eagerly building full intermediate arrays. The library also includes tools for converting results, checking iterability, joining values, searching, counting, and working with rewindable generator variants. Overall, it is useful for PHP developers who want expressive iterable pipelines with minimal overhead and generator-based execution.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    ISO 8583 Standard for Financial Transaction is the International Organization for Standardization standard for systems that exchange electronic transactions. This is a PHP class for parsing and building ISO 8583 format.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    A PHP library which provides an RPC & LPC abstraction layer for API classes in your application.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Some utility function and/or class to convert date from Gregorian calendar to Jalali (Hejri Shamsi) calendar in PHP, Delphi (and some other in future) with very fast algorithm.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Jigsaw

    Jigsaw

    Simple static sites with Laravel’s Blade

    Jigsaw is a static site generator for PHP developers, created by Tighten. It provides a Laravel-inspired development environment for building static websites and documentation sites using Blade templates and Markdown content. Jigsaw is particularly suited for developers familiar with Laravel who want to create simple, fast, and maintainable sites.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Jikan REST

    Jikan REST

    The REST API for Jikan

    Jikan REST is an unofficial RESTful API for MyAnimeList.net, providing access to anime, manga, and user data by scraping the website. It allows developers to integrate MyAnimeList data into their applications without relying on the official API. ​
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    Kint

    Kint

    Kint - Advanced PHP dumper

    Kint is a PHP debugging tool that provides developers with an intuitive and highly informative way to inspect variables and data structures. It replaces standard debugging methods like var_dump() and print_r() with a more readable and structured output, highlighting key details and nesting. Kint is designed to simplify debugging by automatically detecting variable types and presenting them in a clean, interactive format.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    KnpPaginator Bundle

    KnpPaginator Bundle

    SEO friendly Symfony paginator to sort and paginate

    KnpPaginatorBundle is a Symfony bundle that helps paginate large sets of data from Doctrine, arrays, or custom queries. It provides clean pagination controls and works seamlessly with Twig for rendering pagination elements.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    KnpSnappyBundle

    KnpSnappyBundle

    Easily create PDF and images in Symfony by converting html using webki

    Easily create PDF and images in Symfony by converting HTML using webkit. Snappy is a PHP wrapper for the wkhtmltopdf conversion utility. It allows you to generate either pdf or image files from your html documents, using the webkit engine. The KnpSnappyBundle provides a simple integration for your Symfony project. If you need to change the binaries, change the instance options or even disable one or both services, you can do it through the configuration. Render a pdf document with a relative url inside like css files. Render a pdf document as a response from a controller. Render an image as response from a controller. Generate a pdf document from a twig view.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Unix time, or POSIX time at 03:14:08 UTC on January 19, 2038 represented on 32bit integer will overflow. For people who now, write future callendar apps, this is date/time class thet not nave overflow problem
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    LTMagic/TDraw

    LTMagic/TDraw

    Wrappers for ImageMagick for PHP for true object oriented scripting

    This project has been discontinued (May 2021), but lives on at: https://sourceforge.net/projects/tmagic/ in a yet more powerful form. Bring the full power of object oriented programming to PHP's Imagick. LTMagic is a class to extend the IMagick class and TDraw extends the ImagickDraw class with the goal of simplifying repetitive code. Instead of: $draw->setFont ("Arial-bold"); $draw->setFontSize (24); $draw->setTextAlignment (Imagick::ALIGN_CENTER); $draw->annotation ($im_x - 45, $im_y - 33, $x_axis); Do it in one line: $draw->Tfont ("Arial-bold", 24)->Talign ("center")->Ttext ($im_x - 45, $im_y - 33, $x_axis); LTImagic/TDraw also seeks to address some of the shortcomings of PHP's Imagick, such as verbose code, inconsistent returning of Imagick objects or booleans, uniting several steps into a single function, combining set/get functions.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Laravel UUID

    Laravel UUID

    Laravel package to generate and to validate a UUID

    Laravel-UUID is a simple package to generate and use UUIDs (Universally Unique Identifiers) as primary keys in Laravel applications. It offers seamless integration with Eloquent models and supports different UUID versions.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    Laravel World

    Laravel World

    Laravel package which provides a list of countries, states, cities

    The World is a Laravel package that provides a list of countries, states, cities, time zones, currencies, and languages. It can be consumed with the World Facade or the defined API routes.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    Laravel collection macros

    Laravel collection macros

    A set of useful Laravel collection macros

    Laravel's collection class is truly wonderful. It contains a lot of handy methods and you can create some very elegant code with it. In client projects I found myself adding the same macro's over and over again. That's why my colleague Seb and I took some time to create a package aptly called Laravel-collection-macros that contains those macros.
    Downloads: 0 This Week
    Last Update:
    See Project