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.

  • Host LLMs in Production With On-Demand GPUs Icon
    Host LLMs in Production With On-Demand GPUs

    NVIDIA L4 GPUs. 5-second cold starts. Scale to zero when idle.

    Deploy your model, get an endpoint, pay only for compute time. No GPU provisioning or infrastructure management required.
    Start Free
  • Build Securely on AWS with Proven Frameworks Icon
    Build Securely on AWS with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 1

    StratFramework

    Strategy PHP-Framework

    Strategy PHP-Framework
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Stringy

    Stringy

    A PHP string manipulation library with multibyte support

    Stringy is a PHP library that provides a set of string manipulation functions inspired by the String class in other programming languages. It offers a fluent interface for common string operations, including case conversion, trimming, and formatting. Stringy is designed to simplify string handling by providing a consistent and expressive API, making it a valuable tool for text processing in PHP applications.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    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: 0 This Week
    Last Update:
    See Project
  • 4
    Swoole

    Swoole

    Coroutine-based concurrency library for PHP

    Build high-performance, scalable, concurrent TCP, UDP, Unix Socket, HTTP, WebSocket services with PHP and easy to use coroutine, fiber API. Write your next scalable async application server with PHP coroutine and PHP fiber API. Compared with other async programming frameworks or softwares such as Nginx, Tornado, Node.js, Swoole has the built-in PHP coroutine, fiber and async support, multiple threads I/O modules. You can use sync or async, coroutine, fiber API to write the applications or create thousands of light weight fibers within one Linux process. Swoole PHP network framework enhances the efficiency of development team. The network layer in Swoole is event-based and takes full advantage of the underlying epoll/kqueue implementation, making it really easy to serve millions of requests. Swoole 4.x uses a brand new engine kernel and now it has a full-time developer team, so we are entering an unprecedented period in PHP history which offers a unique possibility for rapid evolution.
    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
    Symfony Cache Contracts

    Symfony Cache Contracts

    A set of cache abstractions extracted out of the Symfony components

    Symfony Cache Contracts defines a set of interfaces that standardize cache operations in Symfony and other PHP applications. It provides abstraction for caching services, ensuring consistent interaction regardless of the underlying implementation. These contracts help decouple application logic from specific cache providers, enabling flexible caching strategies and easy integration with PSR-compliant tools.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Symfony Deprecation Contracts

    Symfony Deprecation Contracts

    A generic function and convention to trigger deprecation notices

    Symfony Deprecation Contracts defines a simple interface for triggering deprecation notices in a consistent and forward-compatible way. It allows libraries to signal deprecated features without tying them to specific Symfony versions. This helps maintainers and users adapt their code over time while supporting cross-version compatibility and clean upgrade paths.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Symfony DomCrawler

    Symfony DomCrawler

    Eases DOM navigation for HTML and XML documents

    Symfony DomCrawler is a PHP component that provides powerful tools for navigating and extracting data from HTML and XML documents. It allows developers to parse, filter, and manipulate web pages using CSS selectors and XPath expressions. DomCrawler is widely used for web scraping, testing, and processing structured content, and integrates well with other Symfony components like BrowserKit.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    Symfony ErrorHandler

    Symfony ErrorHandler

    Provides tools to manage errors and ease debugging PHP code

    Symfony ErrorHandler is a component that handles and logs PHP errors and exceptions in a structured way. It replaces PHP's default error handling with a more user-friendly and informative system. The component provides detailed error pages for development environments while ensuring minimal disruption in production. It integrates seamlessly with Symfony applications and supports custom error pages.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    Symfony ExpressionLanguage

    Symfony ExpressionLanguage

    Provides an engine that can compile and evaluate expressions

    Symfony ExpressionLanguage is a powerful component that evaluates expressions written in a simple language. It allows developers to write dynamic expressions that can be evaluated at runtime, making it useful for configuration, validation, and business rule processing. ExpressionLanguage is versatile and integrates seamlessly with other Symfony components, enhancing the flexibility of complex applications.
    Downloads: 0 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
  • 10
    Symfony Inflector

    Symfony Inflector

    Converts words between their singular and plural forms (English only)

    Symfony Inflector is a lightweight PHP component that provides tools for transforming English words between singular and plural forms. It is useful for dynamic naming, code generation, and building human-readable interfaces. The component includes simple, reliable inflection logic and integrates easily with other Symfony components or standalone PHP projects.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    Symfony Monolog Bridge

    Symfony Monolog Bridge

    Provides integration for Monolog with various Symfony components

    Symfony Monolog Bridge is a Symfony component that provides seamless integration between the Monolog logging library and Symfony applications. It acts as a bridge, allowing developers to leverage Monolog's robust logging capabilities within the Symfony framework. The bridge supports various logging handlers, including files, databases, and third-party services, while also allowing customization of log channels and formatting.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Symfony MonologBundle

    Symfony MonologBundle

    Symfony Monolog Bundle

    The Symfony Monolog Bundle integrates the Monolog logging library into Symfony applications. It provides a structured way to manage logs, allowing developers to handle errors and debug information efficiently. The bundle supports various logging channels and handlers, making it highly configurable and suitable for both small and large applications that require robust logging capabilities.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Symfony OptionsResolver

    Symfony OptionsResolver

    Provides an improved replacement for the array_replace PHP function

    Symfony Options Resolver is a PHP component that simplifies the handling of configuration options in your applications. It helps developers define, validate, and normalize configuration arrays, making it easier to manage options passed to classes or functions. The component ensures that the provided options meet the expected structure and values, improving code robustness and flexibility.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    Symfony PHPUnit Bridge

    Symfony PHPUnit Bridge

    Provides utilities for PHPUnit

    Symfony PHPUnit Bridge is a tool that facilitates unit and functional testing within Symfony applications. It enhances PHPUnit’s capabilities by providing better integration, including improved error reporting and test isolation. The bridge supports deprecation notices, legacy code compatibility, and automatic configuration for running tests efficiently.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Symfony Security Bundle

    Symfony Security Bundle

    Integration of the Security component into the Symfony framework

    Symfony Security Bundle is a powerful tool for adding authentication and authorization to Symfony applications. It provides mechanisms for managing user roles, password encryption, and access control. The bundle supports various authentication methods, including form login, HTTP basic auth, OAuth, and more. It also integrates with Symfony’s firewall and access control systems for secure application development.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Symfony Serializer

    Symfony Serializer

    Handles serializing and deserializing data structures

    Symfony Serializer is a PHP component that converts objects into various formats (like JSON, XML, or YAML) and vice versa. It handles data normalization and denormalization, making it ideal for APIs and data transformation tasks. The serializer supports complex object graphs and custom normalization logic, allowing developers to convert data in a structured and efficient manner.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Symfony Service Contracts

    Symfony Service Contracts

    A set of service abstractions extracted out of the Symfony components

    Symfony Service Contracts is a set of standardized interfaces for defining and using services in Symfony applications. It ensures that services are decoupled from their implementations, promoting flexibility and interoperability. By defining common contracts for service behavior, developers can build modular and reusable components, making the codebase more maintainable and robust.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    Symfony Translation Contracts

    Symfony Translation Contracts

    Translation abstractions extracted out of the Symfony components

    Symfony Translation Contracts provide a set of standardized interfaces and classes for managing translations within Symfony applications. This package defines contracts used by the Translation component, making it easier to implement custom translation loaders, formatters, and other related services. It ensures compatibility across different Symfony versions and supports creating multilingual applications with consistent localization.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    Symfony Validator

    Symfony Validator

    Provides tools to validate values

    Symfony Validator is a PHP component designed to validate data structures using a flexible and extensible validation framework. It supports a wide range of built-in validation constraints and allows developers to create custom validation rules. The Validator component is commonly used for form validation, data integrity checks, and input sanitation, integrating seamlessly with Symfony applications.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    PHP Libraries to boost your PHP productions
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    TABSmallSoft PHP Classes Package

    TABSmallSoft PHP Classes Package

    Usable package of PHP classes, that gives variety usefull interfaces.

    Usable package of PHP classes, that gives variety usefull interfaces. Package free for use. It includes some easy to use and smart solutions for web-development. If you have some smart solutions, you may help extand this package. Current version of package includes: - TemplateControl v1.1 (easy class for using html-templates on your web-sites); - Menu v1.2 (class for building html-code of menu using data from specified xml-file); - ImageHandler v1.0 (class for handling and saving on server uploaded images).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    A simple include to handle all communication between PHP and MySQL.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Termwind

    Termwind

    It's like Tailwind CSS, but for the PHP command-line applications

    Termwind is a PHP package that allows developers to build beautiful command-line interfaces (CLIs) using a Tailwind CSS-inspired syntax. It simplifies the process of creating styled output in terminal applications by providing utility classes for colors, alignment, borders, and spacing. Termwind is designed for developers who want to build interactive and visually appealing CLI tools.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    The ReflectionDocBlock Component

    The ReflectionDocBlock Component

    Component of phpDocumentor provides a DocBlock parser

    ReflectionDocBlock is a PHP component for parsing PHPDoc-style DocBlocks. It lets libraries and tools read structured documentation comments and extract information such as descriptions, tags, types, parameters, return values, and annotations. The component is associated with phpDocumentor and is designed to be compatible with the PHPDoc standard. It is useful for documentation generators, static analysis tools, IDE helpers, annotation systems, and frameworks that depend on metadata stored in comments. Developers can install it through Composer and use it as a reusable parser rather than writing custom DocBlock handling. The project helps PHP tooling turn human-written comments into structured data that software can inspect.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    A PHP library for creating time series charts. This library was developed for the PgMonitor and OpenStats projects, but it's possible to use it separately.
    Downloads: 0 This Week
    Last Update:
    See Project