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

  • Try Google Cloud Risk-Free With $300 in Credit Icon
    Try Google Cloud Risk-Free With $300 in Credit

    No hidden charges. No surprise bills. Cancel anytime.

    Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
    Start Free
  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • 1

    PHP Simple HTML DOM Parser

    A php based DOM parser.

    A simple PHP HTML DOM parser written in PHP5+, supports invalid HTML, and provides a very easy way to find, extract and modify the HTML elements of the dom. jquery like syntax allow sophisticated finding methods for locating the elements you care about.
    Leader badge
    Downloads: 2,101 This Week
    Last Update:
    See Project
  • 2
    PhpSpreadsheet

    PhpSpreadsheet

    A pure PHP library for reading and writing spreadsheet files

    PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc. PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc. Support for PHP versions will only be maintained for a period of six months beyond the end of life of that PHP version. Use composer to install PhpSpreadsheet into your project. Or also download the documentation and samples if you plan to use them. A good way to get started is to run some of the samples. Don't forget to download them via --prefer-source composer flag. And then serve them via PHP built-in webserver. PhpSpreadsheet relies on Composer autoloader. So before working with PhpSpreadsheet in standalone, be sure to run composer install.
    Downloads: 47 This Week
    Last Update:
    See Project
  • 3
    Spatie Crawler

    Spatie Crawler

    An easy to use, powerful crawler implemented in PHP

    Spatie Crawler is a PHP library that allows developers to crawl websites and extract information efficiently. It can be used for web scraping, link checking, or automated testing of web pages. The library is simple to use and supports customizable crawling strategies, including controlling crawl depth and handling redirects. It’s suitable for building crawlers that navigate large or dynamically generated websites.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 4
    Open Source Social Network

    Open Source Social Network

    Open Source Social Network (OSSN) is a social networking software

    Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests. It is available in 17 international languages. OSSN Licensed under the Open Source Social Network License (4.0) / Cryptographic Autonomy License version 1.0. OSSN must be installed into a directory writable by the webserver, or it will not function properly. For most Linux servers running Apache v2, making the parent directory writable is very simple. If you are not running Apache v2 or are using a different type of webserver, you'll need to read your system's documentation or speak to your server administrator before proceeding.
    Downloads: 6 This Week
    Last Update:
    See Project
  • Gemini 3 and 200+ AI Models on One Platform Icon
    Gemini 3 and 200+ AI Models on One Platform

    Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

    Build generative AI apps with Vertex AI. Switch between models without switching platforms.
    Start Free
  • 5
    Laravel Socialite

    Laravel Socialite

    Laravel wrapper around OAuth 1 & OAuth 2 libraries

    Laravel Socialite provides an expressive, fluent interface to OAuth authentication with Facebook, Twitter, Google, LinkedIn, GitHub, GitLab and Bitbucket. It handles almost all of the boilerplate social authentication code you are dreading writing. Laravel Socialite provides an expressive, fluent interface to OAuth authentication with Facebook, Twitter, Google, LinkedIn, GitHub, GitLab and Bitbucket. It handles almost all of the boilerplate social authentication code you are dreading writing. To get started with Socialite, use the Composer package manager to add the package to your project's dependencies. When upgrading to a new major version of Socialite, it's important that you carefully review the upgrade guide. Before using Socialite, you will need to add credentials for the OAuth providers your application utilizes.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 6
    Psl

    Psl

    Centralized, well-typed, non-blocking set of APIs for PHP programmers

    Psl is a standard library for PHP, inspired by hhvm/hsl. The goal of Psl is to provide a consistent, centralized, well-typed set of APIs for PHP programmers. A modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 7
    ZipStream PHP

    ZipStream PHP

    PHP ZIP Streaming Library

    ZipStream-PHP is a library that allows you to dynamically create ZIP files on the fly without storing files on the server beforehand. It’s designed for streaming large ZIP archives directly to the browser or client, making it suitable for memory-efficient downloads.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 8
    PHP XLSX Writer

    PHP XLSX Writer

    Lightweight XLSX Excel Spreadsheet Writer in PHP

    A fast and memory-efficient PHP library for writing XLSX (Excel) files. It supports large datasets and is ideal for exporting tabular data without using high-level libraries like PHPExcel, providing an efficient alternative for lightweight data export.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    Brick\Math

    Brick\Math

    Arbitrary-precision arithmetic library for PHP

    Brick Math is a PHP library that provides arbitrary-precision arithmetic for integers, rational numbers, and decimal numbers. It is designed to overcome the limitations of PHP’s native number handling, especially for applications dealing with large numbers, financial calculations, or scientific computations. Brick Math complies with standards like IEEE 754 and avoids rounding errors inherent to floating-point arithmetic.
    Downloads: 2 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
    Brick\Money

    Brick\Money

    A money and currency library for PHP

    Brick\Money is a PHP library designed to provide precise and reliable handling of monetary values using arbitrary-precision arithmetic, ensuring accuracy in financial calculations of any scale. Built on top of the brick/math library, it avoids floating point errors by using exact decimal representations, making it suitable for applications where correctness is critical, such as accounting and financial services. The library supports ISO 4217 currency standards and includes comprehensive tools for working with currency units, conversions, and rounding strategies. It is designed to handle large numbers and complex operations without loss of precision, which is essential for enterprise-level financial systems. Brick\Money also emphasizes immutability, ensuring that operations return new objects rather than modifying existing ones, which improves predictability and safety in codebases.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 11
    Directory Lister

    Directory Lister

    Directory Lister exposes the contents of any web folder

    Directory Lister is a simple, self-hosted PHP application that lets users browse and share the contents of directories over the web. It creates a web interface to list files and folders on a server, complete with download links, breadcrumb navigation, and optional themes. Ideal for file sharing and public repositories, it requires no database and can be deployed quickly on any PHP-compatible server.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 12
    Hateoas

    Hateoas

    A PHP library to support implementing representations

    A PHP library to support implementing representations for HATEOAS REST web services.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    Minify php

    Minify php

    CSS & JavaScript minifier, in PHP

    Matthias Mullie Minify is a PHP library that minifies CSS and JavaScript files by removing whitespace, comments, and other unnecessary characters. It helps reduce file size and load time, making it ideal for optimizing web assets in production environments. The library is fast, reliable, and can process both strings and file-based input.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    Mobile Detect

    Mobile Detect

    Mobile_Detect is a lightweight PHP class for detecting mobile devices

    Mobile-Detect is a lightweight PHP library that inspects the HTTP user agent string and HTTP headers to detect whether a request comes from a mobile, tablet, or desktop device. It includes a rich set of detection rules covering device brands, operating systems, and browser engines so developers can tailor responses (views, assets, or layouts) based on client form factor. Its API is simple: isMobile(), isTablet(), or deviceFamily() methods make branching logic intuitive. The library is used in server-rendered PHP apps, CMS themes, and frameworks to serve mobile-friendly templates or redirect users to mobile versions. Because it is pattern-driven and optimized for fast matching, it adds minimal runtime overhead to request handling. By abstracting away the complexity of UA sniffing, Mobile-Detect helps teams gracefully support multi-device clients without duplicating detection logic.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 15
    PSR-7

    PSR-7

    PSR-7 HTTP message library

    This repository contains a full PSR-7 message implementation, several stream decorators, and some helpful functionality like query string parsing. This package comes with a number of stream implementations and stream decorators. Reads from multiple streams, one after the other. Provides a buffer stream that can be written to fill a buffer, and read from to remove bytes from the buffer. This stream returns a "hwm" metadata value that tells upstream consumers what the configured high water mark of the stream is, or the maximum preferred size of the buffer. The CachingStream is used to allow seeking over previously read bytes on non-seekable streams. This can be useful when transferring a non-seekable entity body fails due to needing to rewind the stream (for example, resulting from a redirect). Data that is read from the remote stream will be buffered in a PHP temp stream so that previously read bytes are cached first in memory, then on disk.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 16
    Sentry PHP

    Sentry PHP

    The official PHP SDK for Sentry (sentry.io)

    Sentry for PHP is a powerful error tracking library that helps developers identify, capture, and debug application issues in real time. It integrates seamlessly with PHP applications and frameworks like Laravel and Symfony, making it a go-to tool for production error monitoring.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 17
    Squire

    Squire

    A library of static Eloquent models for common fixture data

    Squire is a library of static Eloquent models for fixture data that is commonly needed in web applications, such as countries, currencies, and airports. It's based on the concepts of Caleb Porzio's Sushi package. Squire includes a validation rule for each model installed in your app. These allow you to easily validate user input to ensure that it matches a record in a specific model. Squire may not always have a model available for the information you require. In this case, you may want to create your own.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 18
    Swap

    Swap

    Currency exchange rates library

    Swap is a PHP library designed to retrieve and manage currency exchange rates from multiple providers through a unified and extensible interface. It acts as an abstraction layer over various exchange rate APIs such as Fixer, currencylayer, and European Central Bank data sources, allowing developers to switch providers or combine them without changing application logic. The library supports both real-time and historical exchange rates, making it suitable for financial applications that require accurate and time-sensitive data. One of its key strengths is its ability to define fallback providers, ensuring reliability even if a primary data source fails. Swap also includes optional caching mechanisms to reduce API calls and improve performance in production environments. It integrates seamlessly with frameworks like Symfony and Laravel, making it easy to incorporate into existing PHP applications.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 19
    Web Push PHP

    Web Push PHP

    Web Push library for PHP

    WebPush-PHP is a server-side library to send Web Push notifications to browsers using the W3C Push API standard. It supports encrypted push messages and is compatible with service workers in major browsers like Chrome and Firefox.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 20
    Devilbox

    Devilbox

    A modern Docker LAMP stack and MEAN stack for local development

    Devilbox is a modern and flexible LAMP and MEAN stack environment powered by Docker. It provides a pre-configured, customizable setup for web development, supporting a wide range of services like Apache, Nginx, PHP, MySQL, and MongoDB. Devilbox is designed to be a one-stop solution for developers who need a consistent and portable development environment, eliminating the need to manually configure servers.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    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: 1 This Week
    Last Update:
    See Project
  • 22
    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: 1 This Week
    Last Update:
    See Project
  • 23
    OAuth 2.0 Client

    OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers

    The PHP League's OAuth 2.0 Client is a robust library for integrating OAuth 2.0 authentication in PHP applications. It simplifies the process of connecting with OAuth providers like Google, Facebook, and GitHub, allowing secure and standardized user authentication. The library is designed with extensibility in mind, making it easy to add support for new providers through custom adapters.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Omnipay

    Omnipay

    A framework agnostic, multi-gateway payment processing library

    Omnipay is a payment processing library for PHP. It has been designed based on ideas from Active Merchant, plus experience implementing dozens of gateways for CI Merchant. It has a clear and consistent API, is fully unit tested, and even comes with an example application to get you started. You can learn one API and use it in multiple projects using different payment gateways. If you need to change payment gateways you won’t need to rewrite your code. Most official PHP payment gateway libraries are a mess. Most payment gateways have exceptionally poor documentation. So, why use Omnipay instead of a gateway’s official PHP package/example code? Because you are writing a shopping cart and need to support multiple gateways.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Payum

    Payum

    PHP Payment processing library

    Payum is a PHP payment processing library that abstracts and unifies payment gateway integrations across different services like PayPal, Stripe, and Authorize.Net. It offers a modular architecture that supports various gateways and payment flows including recurring payments, tokenized sessions, and secure callbacks. Payum is ideal for developers building custom e-commerce or billing solutions with multiple payment options.
    Downloads: 1 This Week
    Last Update:
    See Project
MongoDB Logo MongoDB