PHP packages
4,000 in Packages and libraries, most used first. Page 1 of 20.
-
symfony/polyfill-mbstring Symfony polyfill for the Mbstring extension
-
psr/log Common interface for logging libraries
-
symfony/console Eases the creation of beautiful and testable command line interfaces
-
psr/http-message Common interface for HTTP messages
-
guzzlehttp/psr7 PSR-7 message implementation that also provides common utility methods
-
psr/container Common Container Interface (PHP FIG PSR-11)
-
symfony/finder Finds files and directories via an intuitive fluent interface
-
guzzlehttp/guzzle Guzzle is a PHP HTTP client library
-
symfony/event-dispatcher Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
-
symfony/polyfill-ctype Symfony polyfill for ctype functions
-
guzzlehttp/promises Guzzle promises library
-
symfony/process Executes commands in sub-processes
-
monolog/monolog Sends your logs to files, sockets, inboxes, databases and various web services
-
nikic/php-parser A PHP parser written in PHP
-
doctrine/lexer PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
-
phpunit/phpunit The PHP Unit Testing framework.
-
sebastian/diff Diff implementation
-
ralouphie/getallheaders A polyfill for getallheaders.
-
symfony/http-foundation Defines an object-oriented layer for the HTTP specification
-
phpunit/php-code-coverage Library that provides collection, processing, and rendering functionality for PHP code coverage information.
-
symfony/service-contracts Generic abstractions related to writing services
-
sebastian/exporter Provides the functionality to export PHP variables for visualization
-
sebastian/comparator Provides the functionality to compare PHP values for equality
-
phpunit/php-file-iterator FilterIterator implementation that filters files based on a list of suffixes.
-
phpunit/php-timer Utility class for timing
-
sebastian/recursion-context Provides functionality to recursively process PHP variables
-
webmozart/assert Assertions to validate method input/output with nice error messages.
-
symfony/var-dumper Provides mechanisms for walking through any arbitrary PHP variable
-
sebastian/environment Provides functionality to handle HHVM/PHP environments
-
symfony/deprecation-contracts A generic function and convention to trigger deprecation notices
-
phpunit/php-text-template Simple template engine.
-
sebastian/version Library that helps with managing the version number of Git-hosted PHP projects
-
symfony/polyfill-intl-normalizer Symfony polyfill for intl's Normalizer class and related functions
-
sebastian/global-state Snapshotting of global state
-
doctrine/inflector PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of
-
myclabs/deep-copy Create deep copies (clones) of your objects
-
symfony/translation Provides tools to internationalize your application
-
symfony/polyfill-php80 Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
-
symfony/http-kernel Provides a structured process for converting a Request into a Response
-
doctrine/instantiator A small, lightweight utility to instantiate objects in PHP without invoking their constructors
-
sebastian/object-enumerator Traverses array structures and object graphs to enumerate all referenced objects
-
symfony/routing Maps an HTTP request to a set of configuration variables
-
symfony/polyfill-intl-idn Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
-
symfony/yaml Loads and dumps YAML files
-
symfony/event-dispatcher-contracts Generic abstractions related to dispatching event
-
sebastian/code-unit-reverse-lookup Looks up which function or method a line of code belongs to
-
symfony/css-selector Converts CSS selectors to XPath expressions
-
symfony/string Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
-
theseer/tokenizer A small library for converting tokenized PHP source code into XML and potentially other formats
-
sebastian/object-reflector Allows reflection of object attributes, including inherited and non-public ones
-
phar-io/manifest Component for reading phar.io manifest information from a PHP Archive (PHAR)
-
phar-io/version Library for handling version information and constraints
-
psr/simple-cache Common interfaces for simple caching
-
symfony/polyfill-intl-grapheme Symfony polyfill for intl's grapheme_* functions
-
psr/http-factory PSR-17: Common interfaces for PSR-7 HTTP message factories
-
symfony/translation-contracts Generic abstractions related to translation
-
ramsey/uuid A PHP library for generating and working with universally unique identifiers (UUIDs).
-
psr/http-client Common interface for HTTP clients
-
egulias/email-validator A library for validating emails against several RFCs
-
phpdocumentor/type-resolver A PSR-5 based resolver of Class names, Types and Structural Element Names
-
phpdocumentor/reflection-docblock With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a Doc
-
symfony/mime Allows manipulating MIME messages
-
phpdocumentor/reflection-common Common reflection classes used by phpdocumentor to reflect the code structure
-
psr/cache Common interface for caching libraries
-
symfony/filesystem Provides basic utilities for the filesystem
-
symfony/error-handler Provides tools to manage errors and ease debugging PHP code
-
nesbot/carbon An API extension for DateTime that supports 281 different languages.
-
psr/event-dispatcher Standard interfaces for event handling.
-
league/flysystem File storage abstraction for PHP
-
paragonie/random_compat PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
-
sebastian/type Collection of value objects that represent the types of the PHP type system
-
sebastian/resource-operations Provides a list of PHP built-in functions that operate on resources
-
vlucas/phpdotenv Loads environment variables from `.env` to `$_ENV` and `$_SERVER` automagically, and optionally to `getenv()`.
-
symfony/polyfill-php72 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
-
phpunit/php-invoker Invoke callables with a timeout
-
doctrine/dbal Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
-
phpoption/phpoption Option Type for PHP
-
psy/psysh An interactive shell for modern PHP.
-
sebastian/cli-parser Library for parsing CLI options
-
sebastian/lines-of-code Library for counting the lines of code in PHP source code
-
sebastian/complexity Library for calculating the complexity of PHP code units
-
symfony/polyfill-php73 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
-
doctrine/cache PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and
-
brick/math Arbitrary-precision arithmetic library
-
sebastian/code-unit Collection of value objects that represent the PHP code units
-
laravel/framework The Laravel Framework.
-
ramsey/collection A PHP library for representing and manipulating collections.
-
tijsverkoyen/css-to-inline-styles CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when
-
aws/aws-sdk-php AWS SDK for PHP - Use Amazon Web Services in your PHP project
-
doctrine/annotations Docblock Annotations Parser
-
league/mime-type-detection Mime-type detection for Flysystem
-
composer/semver Version comparison library that offers utilities, version constraint parsing and validation.
-
doctrine/deprecations A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packag
-
symfony/options-resolver Provides an improved replacement for the array_replace PHP function
-
mockery/mockery Mockery is a simple yet flexible PHP mock object framework
-
dragonmantank/cron-expression CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
-
phpspec/prophecy Highly opinionated mocking framework for PHP 5.3+
-
doctrine/event-manager The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
-
hamcrest/hamcrest-php This is the PHP port of Hamcrest Matchers
-
mtdowling/jmespath.php Declaratively specify how to extract elements from a JSON document
-
firebase/php-jwt A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
-
symfony/config Helps you find, load, combine, autofill and validate configuration values of any kind
-
phpseclib/phpseclib PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.
-
laravel/tinker Powerful REPL for the Laravel framework.
-
twig/twig Twig, the flexible, fast, and secure template language for PHP
-
league/commonmark Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)
-
voku/portable-ascii Portable ASCII library - performance optimized (ascii) string functions for php.
-
nette/utils 🛠 Nette Utils: small, well-tested helpers you would otherwise write yourself. Strings and arrays with UTF-8 in mind, safe JSON, images, vali
-
symfony/dependency-injection Allows you to standardize and centralize the way objects are constructed in your application
-
symfony/polyfill-php81 Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions
-
symfony/mailer Helps sending emails
-
filp/whoops php error handling for cool kids
-
graham-campbell/result-type An Implementation Of The Result Type
-
symfony/http-client-contracts Generic abstractions related to HTTP clients
-
composer/xdebug-handler Restarts a process without Xdebug.
-
psr/clock Common interface for reading the clock.
-
doctrine/collections PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
-
symfony/var-exporter Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects
-
dflydev/dot-access-data Given a deep data structure, access data by dot notation.
-
symfony/stopwatch Provides a way to profile code
-
swiftmailer/swiftmailer Swiftmailer, free feature-rich PHP mailer
-
fakerphp/faker Faker is a PHP library that generates fake data for you.
-
symfony/polyfill-uuid Symfony polyfill for uuid functions
-
symfony/dom-crawler Eases DOM navigation for HTML and XML documents
-
nette/schema 📐 Nette Schema: validates and normalizes data such as configuration or API input against a schema described in a few readable lines of PHP,
-
react/promise A lightweight implementation of CommonJS Promises/A for PHP
-
laravel/serializable-closure Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
-
phpstan/phpdoc-parser PHPDoc parser with support for nullable, intersection and generic types
-
phpstan/phpstan PHPStan - PHP Static Analysis Tool
-
paragonie/constant_time_encoding Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)
-
squizlabs/php_codesniffer PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
-
symfony/cache Provides extended PSR-6, PSR-16 (and tags) implementations
-
composer/pcre PCRE wrapping library that offers type-safe preg_* replacements.
-
nunomaduro/collision Cli error handling for console/command-line PHP applications.
-
symfony/polyfill-php83 Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions
-
phpunit/php-token-stream Wrapper around PHP's tokenizer extension.
-
symfony/debug Provides tools to ease debugging PHP code
-
composer/ca-bundle Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
-
league/config Define configuration arrays with strict schemas and access values with dot notation
-
ezyang/htmlpurifier Standards compliant HTML filter written in PHP
-
doctrine/common PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflec
-
symfony/polyfill-iconv Symfony polyfill for the Iconv extension
-
symfony/uid Provides an object-oriented API to generate and represent UIDs
-
aws/aws-crt-php AWS Common Runtime for PHP
-
symfony/http-client Provides powerful methods to fetch HTTP resources synchronously or asynchronously
-
php-http/discovery Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations
-
lcobucci/jwt A simple library to work with JSON Web Token and JSON Web Signature
-
symfony/cache-contracts Generic abstractions related to caching
-
symfony/serializer Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.
-
jean85/pretty-package-versions A library to get pretty versions strings of installed dependencies
-
symfony/psr-http-message-bridge PSR HTTP message bridge
-
justinrainbow/json-schema A library to validate a json schema.
-
phpoffice/phpspreadsheet PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
-
symfony/property-access Provides functions to read and write from/to an object or array using a simple string notation
-
maennchen/zipstream-php ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.
-
predis/predis A flexible and feature-complete Redis/Valkey client for PHP.
-
php-http/promise Promise used for asynchronous HTTP requests
-
php-http/httplug HTTPlug, the HTTP client abstraction for PHP
-
markbaker/complex PHP Class for working with complex numbers
-
markbaker/matrix PHP Class for working with matrices
-
symfony/validator Provides tools to validate values
-
league/flysystem-local Local filesystem adapter for Flysystem.
-
doctrine/persistence The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
-
fruitcake/php-cors Cross-origin resource sharing library for the Symfony HttpFoundation
-
nunomaduro/termwind It's like Tailwind CSS, but for the console.
-
google/auth Google Auth Library for PHP
-
league/flysystem-aws-s3-v3 AWS S3 filesystem adapter for Flysystem.
-
carbonphp/carbon-doctrine-types Types to use Carbon in Doctrine
-
doctrine/orm Object-Relational-Mapper for PHP
-
symfony/property-info Extracts information about PHP class' properties using metadata of popular sources
-
symfony/browser-kit Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically
-
masterminds/html5 An HTML5 parser and serializer.
-
guzzlehttp/uri-template A polyfill class for uri_template of PHP
-
league/uri URI manipulation library
-
league/uri-interfaces Common tools for parsing and resolving RFC3987/RFC3986 URI
-
php-http/message HTTP Message related tools
-
nyholm/psr7 A fast PHP7 implementation of PSR-7
-
clue/stream-filter A simple and modern approach to stream filtering in PHP
-
symfony/polyfill-intl-icu Symfony polyfill for intl's ICU-related data and classes
-
php-http/message-factory Factory interfaces for PSR-7 HTTP Message
-
symfony/monolog-bundle Symfony MonologBundle
-
sentry/sentry PHP SDK for Sentry (http://sentry.io)
-
friendsofphp/php-cs-fixer A tool to automatically fix PHP code style
-
symfony/framework-bundle Provides a tight integration between Symfony components and the Symfony full-stack framework
-
laravel/prompts Add beautiful and user-friendly forms to your command-line applications.
-
symfony/clock Decouples applications from the system clock
-
doctrine/doctrine-bundle Symfony DoctrineBundle
-
symfony/dotenv Registers environment variables from a .env file
-
php-http/client-common Common HTTP Client implementations and tools for HTTPlug
-
symfony/twig-bridge Provides integration for Twig with various Symfony components
-
dnoegel/php-xdg-base-dir implementation of xdg base directory specification for php
-
sabberworm/php-css-parser Parser for CSS Files written in PHP
-
symfony/expression-language Provides an engine that can compile and evaluate expressions
-
seld/jsonlint JSON Linter
-
myclabs/php-enum PHP Enum implementation
-
laravel/sail Docker files for running a basic Laravel application.
-
opis/closure A library that can be used to serialize closures (anonymous functions) and arbitrary data.
-
symfony/security-core Symfony Security Component - Core Library
-
doctrine/migrations PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database
-
symfony/intl Provides access to the localization data of the ICU library