[go: up one dir, main page]

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.

  • Gen AI apps are built with MongoDB Atlas Icon
    Gen AI apps are built with MongoDB Atlas

    Build gen AI apps with an all-in-one modern database: MongoDB Atlas

    MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
    Start Free
  • La version gratuite d'Auth0 s'enrichit ! Icon
    La version gratuite d'Auth0 s'enrichit !

    Gratuit pour 25 000 utilisateurs avec intégration Okta illimitée : concentrez-vous sur le développement de vos applications.

    Vous l'avez demandé, nous l'avons fait ! Les versions gratuite et payante d'Auth0 incluent des options qui vous permettent de développer, déployer et faire évoluer vos applications en toute sécurité. Utilisez Auth0 dès maintenant pour découvrir tous ses avantages.
    Essayez Auth0 gratuitement
  • 1
    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
  • 2
    CodeIgniter RestServer

    CodeIgniter RestServer

    RESTful server implementation for CodeIgniter

    CodeIgniter RestServer is a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller. CodeIgniter Rest Server is available on Packagist (using semantic versioning), and installation via composer is the recommended way to install Codeigniter Rest Server. Note that you will need to copy rest.php to your config directory (e.g. application/config)
    Downloads: 2 This Week
    Last Update:
    See Project
  • 3
    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: 2 This Week
    Last Update:
    See Project
  • 4
    Elastica

    Elastica

    Elastica is a PHP client for elasticsearch

    Elastica is a PHP client for Elasticsearch, providing a rich object-oriented API to interact with and query Elasticsearch indexes. It simplifies the process of building, updating, and querying search indexes, making Elasticsearch integration more accessible to PHP developers. Elastica is suitable for applications requiring full-text search, analytics, and real-time data exploration.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Cloud-based observability solution that helps businesses track and manage workload and performance on a unified dashboard. Icon
    Cloud-based observability solution that helps businesses track and manage workload and performance on a unified dashboard.

    For developers, engineers, and operational teams in organizations of all sizes

    Monitor everything you run in your cloud without compromising on cost, granularity, or scale. groundcover is a full stack cloud-native APM platform designed to make observability effortless so that you can focus on building world-class products. By leveraging our proprietary sensor, groundcover unlocks unprecedented granularity on all your applications, eliminating the need for costly code changes and development cycles to ensure monitoring continuity.
    Learn More
  • 5
    Gaufrette

    Gaufrette

    PHP library that provides a filesystem abstraction layer

    Gaufrette is a PHP library designed to abstract filesystem operations, providing a consistent interface to interact with various storage backends. It allows developers to work with files stored locally, on cloud platforms, or via network protocols, without changing the code. Gaufrette supports plugins for caching, metadata management, and file transformation, making it a flexible choice for file management in web applications.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 6
    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: 2 This Week
    Last Update:
    See Project
  • 7
    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: 2 This Week
    Last Update:
    See Project
  • 8
    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: 2 This Week
    Last Update:
    See Project
  • 9
    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: 2 This Week
    Last Update:
    See Project
  • Monitoring, Securing, Optimizing 3rd party scripts Icon
    Monitoring, Securing, Optimizing 3rd party scripts

    For developers looking for a solution to monitor, script, and optimize 3rd party scripts

    c/side is crawling many sites to get ahead of new attacks. c/side is the only fully autonomous detection tool for assessing 3rd party scripts. We do not rely purely on threat feed intel or easy to circumvent detections. We also use historical context and AI to review the payload and behavior of scripts.
    Learn More
  • 10
    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
  • 11
    Nelmio Alice

    Nelmio Alice

    Expressive fixtures generator

    Nelmio Alice is a PHP library designed to generate complex data fixtures for testing and development environments. It uses YAML, XML, or PHP files to define fixture templates, making it easy to create realistic and varied data sets. Alice integrates well with Doctrine ORM, allowing developers to quickly populate databases with test data, making it especially useful for automated testing and staging environments.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 12
    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: 2 This Week
    Last Update:
    See Project
  • 13
    Optimus id transformation

    Optimus id transformation

    Id obfuscation based on Knuth's multiplicative hashing method for PHP

    With this library, you can transform your internal IDs to obfuscated integers based on Knuth's integer hash. It is similar to Hashids but will generate integers instead of random strings. It is also super fast. If you will be running your code on a 32-bit system or will be working with large prime numbers it is suggested that you install the GMP extension.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    PHP-AMQPLib

    PHP-AMQPLib

    The most widely used PHP client for RabbitMQ

    php-amqplib is a pure PHP library for communicating with RabbitMQ, an open-source message broker. It implements the Advanced Message Queuing Protocol (AMQP) and allows developers to publish, consume, and manage messages between applications. The library is suitable for building distributed systems that require reliable message passing and is compatible with RabbitMQ and other AMQP brokers.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 15
    PhpMetrics

    PhpMetrics

    Beautiful and understandable static analysis tool for PHP

    PhpMetrics is a powerful static analysis tool for PHP code that provides metrics on code quality, complexity, maintainability, and architecture. It generates comprehensive reports in HTML format, visualizing metrics like cyclomatic complexity, lines of code, and coupling between classes. PhpMetrics helps developers identify potential code issues, optimize performance, and maintain high-quality codebases.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 16
    PropertyAccess Component

    PropertyAccess Component

    Provides functions to read and write from/to an object or array

    Symfony PropertyAccess is a component that provides a uniform way to read and write object properties and array elements. It allows developers to access nested properties dynamically without directly interacting with the underlying data structure. PropertyAccess simplifies the manipulation of data objects, especially in form handling and data mapping scenarios. It is commonly used in Symfony applications but can be utilized in any PHP project.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 17
    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: 2 This Week
    Last Update:
    See Project
  • 18
    Snappy PHP

    Snappy PHP

    PHP library allowing thumbnail, snapshot or PDF generation from an URL

    Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. It uses the excellent WebKit-based wkhtmltopdf and wkhtmltoimage available on OSX, Linux, Windows. You will have to download wkhtmltopdf 0.12.x in order to use Snappy.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 19
    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
  • 20
    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: 2 This Week
    Last Update:
    See Project
  • 21
    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: 2 This Week
    Last Update:
    See Project
  • 22
    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: 2 This Week
    Last Update:
    See Project
  • 23
    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: 2 This Week
    Last Update:
    See Project
  • 24
    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: 2 This Week
    Last Update:
    See Project
  • 25
    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: 2 This Week
    Last Update:
    See Project