squizlabs/php_codesniffer
PHP_CodeSniffer (PHPCS) provides phpcs to detect coding standard violations and phpcbf to automatically fix them. Tokenizes PHP files against defined standards to keep code clean and consistent, suitable for teams and CI.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| adriansuter/php-autoload-override | Override PHP autoloading to take control of how classes are resolved. php-autoload-override lets you hook into Composer’s autoloader to swap, alias, or redirect class loading—useful for debugging, testing, and patching vendor code without forks. | 21 | 22 | 3 | 3K | 0 | 22.4 | 35.1 | MIT | 1 year ago | |
| aimeos/aimeos-base | Core package for the Aimeos e-commerce framework: foundational components, utilities, and interfaces used by the Aimeos Laravel integration and other adapters. Provides the shared base required to build, extend, and run scalable online shops. | 2,113 | 2,107 | 3 | 4K | 0 | 10.8 | 6.0 | NOASSERTION | — | |
| aimeos/aimeos-core | High-performance e-commerce core for Aimeos, providing the product catalog, pricing, customers, orders, and checkout logic. Framework-agnostic PHP with Laravel integration, extensible via plugins, optimized for large catalogs and multi-site, multi-language shops. | 4,456 | 4,452 | 127 | 3K | 5 | 27.6 | 5.3 | NOASSERTION | — | |
| aimeos/map | High-performance e-commerce framework for Laravel/Lumen (and other PHP apps). Provides products, catalog, basket, checkout, customers, orders and admin UI. Extensible via plugins, supports multiple shops/sites, currencies and languages, and scales well. | 4,248 | 4,234 | 16 | 14K | 1 | 21.8 | 8.6 | MIT | — | |
| antecedent/patchwork | Patchwork is a PHP library for monkey patching and function/method interception, enabling runtime overrides for legacy code and testing. Useful for stubbing hard-to-mock dependencies, modifying behavior without changing sources, and building shims in existing apps. | 450 | — | 42 | — | 22 | 30.2 | 9.9 | MIT | 6 months ago | |
| apimatic/core | APIMatic Core for PHP: shared core logic and utilities used by APIMatic-generated PHP SDKs. Includes request building, parameter handling (query/header/form/body), and related helpers. Supports PHP 7.2–8.4. | 7 | 7 | 5 | 226K | 1 | 29.3 | 65.0 | MIT | 2 months ago | |
| apimatic/jsonmapper | apimatic/jsonmapper is a lightweight PHP JSON-to-object mapper for converting API responses into typed models. It maps arrays/JSON to class properties with minimal setup, supports nested structures, and helps keep data hydration consistent across your application. | 24 | 26 | 7 | 326K | 7 | 29.8 | 67.2 | OSL-3.0 | 5 months ago | |
| area17/twill | Twill is an open-source Laravel package for building a custom CMS fast. It provides a polished admin UI with prebuilt features and Vue components, stays flexible and extensible, works headless or integrated, and lets you use your own models with no lock-in. | 3,955 | 3,955 | 585 | 8K | 80 | 83.8 | 40.8 | Apache-2.0 | 2 months ago | |
| automattic/vipwpcs | PHPCS sniffs and rulesets for validating code built for WordPress VIP. Includes WordPressVIPMinimum and WordPress-VIP-Go standards, based on WPCS and VariableAnalysis. Install via Composer; supports PHP 5.4+ and PHPCS 3.13.2+. | 255 | 259 | 43 | 282K | 77 | 46.5 | 84.4 | NOASSERTION | 1 year ago | |
| aws/aws-php-sns-message-validator | Validates Amazon SNS messages in PHP by verifying signatures and certificates, helping you securely accept notifications, subscriptions, and publishes from AWS SNS. Lightweight helper for authenticating inbound SNS HTTP/HTTPS payloads. | 214 | 221 | 58 | 546K | 3 | 27.5 | 56.2 | Apache-2.0 | 1 year ago | |
| bacon/bacon-qr-code | PHP QR code generator ported from ZXing (encoder only). Create PNG/SVG/EPS output via Imagick, SVG, or EPS back ends, plus a separate GDLib renderer. Simple API with configurable render styles and file or string output. | 2,066 | 2,128 | 225 | 6M | 1 | 40.7 | 56.3 | BSD-2-Clause | 5 days ago | |
| barryvdh/laravel-dompdf | Laravel wrapper for Dompdf that makes generating PDFs from Blade views simple. Render HTML to PDF with headers/footers, page setup, and streaming or downloading responses—ideal for invoices, reports, and printable documents in Laravel apps. | 7,257 | 7,357 | 981 | 3M | 97 | 89.2 | 71.0 | MIT | 3 weeks ago | |
| braintree/braintree_php | Official Braintree PHP SDK for integrating Braintree payments into PHP apps. Supports transactions, customer and payment method management, subscriptions, webhooks, and more, with configuration for sandbox/production and comprehensive API coverage. | 555 | — | 225 | — | 17 | 15.0 | 7.5 | MIT | — | |
| chillerlan/php-authenticator | PHP 8.4+ library to generate and verify HOTP (RFC 4226) and TOTP (RFC 6238) one-time passwords, compatible with Google Authenticator-style apps. Includes optional Steam Guard time sync plus constant-time encoding helpers for safer key handling. | 56 | 58 | 2 | 5K | 0 | 25.7 | 31.0 | MIT | 3 weeks ago | |
| chillerlan/php-qrcode | Generate and read QR codes in PHP. Supports Model 2 QR codes (versions 1–40), ECC levels L/M/Q/H, mixed encoding modes, and multiple output formats. Includes a QR code reader based on a PHP port of ZXing. | 2,356 | 2,375 | 329 | 2M | 1 | 51.2 | 47.6 | Apache-2.0 | 1 week ago | |
| chillerlan/php-settings-container | Lightweight settings container for PHP that decouples configuration logic from your application. Provides a SettingsContainerInterface with property-hook style access (for PHP < 8.4). Not a dependency injection container. | 34 | 34 | 4 | 2M | 0 | 27.2 | 65.0 | MIT | 3 weeks ago | |
| codeception/module-db | Database module for Codeception that handles connecting to a DB, running queries, and cleaning up between tests. Supports populating data, verifying records, and fast resets to keep acceptance and functional test suites reliable and repeatable. | 23 | 23 | 31 | 512K | 14 | 31.9 | 74.0 | MIT | 1 year ago | |
| codeception/module-phpbrowser | Codeception module built on PhpBrowser to test web apps over HTTP without a real browser. Supports making requests, filling and submitting forms, following redirects, and asserting responses, headers, status codes, and page content in functional and API tests. | 65 | 66 | 15 | 643K | 2 | 25.1 | 64.8 | MIT | 2 months ago | |
| colinodell/json5 | PHP JSON5 parser/decoder. Adds json5_decode() as a drop-in replacement for json_decode(), supporting comments, trailing commas, single quotes, and more. Always throws SyntaxError on parse failure. Includes a json5 CLI to convert JSON5 to JSON. | 304 | 311 | 13 | 979K | 0 | 25.8 | 57.0 | MIT | 2 years ago | |
| commerceguys/addressing | PHP library for handling postal addresses worldwide. Includes country and subdivision data, address formats, validation, and locale-aware rendering/normalization. Used by Drupal Commerce; ideal for e-commerce checkout, shipping, and billing workflows. | 954 | — | 150 | — | 11 | 33.3 | 8.1 | MIT | 3 months ago | |
| composer-unused/symbol-parser | composer-unused/symbol-parser is a small toolkit that parses PHP symbols from a Composer package, helping tools like composer-unused detect what code is actually referenced. Useful for analyzing dependencies, exports, and usage across a project. | 14 | 14 | 13 | 216K | 0 | 28.8 | 65.0 | MIT | 2 months ago | |
| consolidation/annotated-command | PHP library for building CLI commands from annotations/attributes. Define command names, options, arguments, and hooks in docblocks, then let it parse input and run methods. Used by Drush and other tools for fast, structured command definitions. | 225 | — | 40 | — | 19 | 8.4 | 8.2 | NOASSERTION | — | |
| consolidation/config | Lightweight configuration library for PHP. Load and merge settings from multiple files and formats with a simple API, making it easy to manage app config across environments and projects. Often used as a standalone component in larger toolchains. | 169 | 170 | 18 | 1M | 9 | 3.9 | 54.8 | NOASSERTION | — | |
| consolidation/log | A lightweight Laravel logging package that consolidates and formats application logs, helping you centralize output, reduce noise, and improve readability. Designed for easy integration and configuration across environments for consistent, structured logging. | 154 | 155 | 6 | 1M | 0 | 1.0 | 53.5 | NOASSERTION | — | |
| consolidation/output-formatters | Flexible output formatting utilities for PHP/Laravel CLI apps. Convert structured data to clean tables, JSON, YAML, and more with consistent styling and easy configuration—ideal for Symfony Console/Drush-style commands needing polished, readable output. | 196 | 200 | 15 | 1M | 6 | 3.1 | 53.3 | NOASSERTION | — | |
| consolidation/robo | Robo is a modern PHP task runner for automating common development workflows. Define tasks in a RoboFile with a clean OO API to run tests, build assets, deploy, and more. Extensible via plugins, with useful built-in tasks and CLI tooling. | 2,704 | 2,717 | 306 | 1M | 163 | 71.7 | 77.4 | NOASSERTION | 2 years ago | |
| cweagans/composer-configurable-plugin | Composer plugin that makes package configuration flexible by reading and merging settings from composer.json (extra) and other sources. Useful for teams needing configurable behavior across environments without hardcoding values in the plugin itself. | 10 | — | 1 | — | 1 | 0.4 | 0.4 | BSD-3-Clause | — | |
| cweagans/composer-patches | Apply and manage patch files to Composer dependencies. Lets you keep fixes and tweaks outside vendor/ while still using normal Composer updates, with support for multiple patches per package, remote patch URLs, descriptions, and CI-friendly installs. | 1,688 | 1,697 | 262 | 2M | 43 | 54.0 | 73.2 | BSD-3-Clause | 5 months ago | |
| dasprid/enum | dasprid/enum brings type-safe, object-based enums to PHP. Define a fixed set of values with labels, comparisons, serialization and validation, reducing magic strings/ints and improving readability in domain models and configuration. | 379 | 382 | 13 | 6M | 0 | 2.3 | 55.3 | BSD-2-Clause | — | |
| dealerdirect/phpcodesniffer-composer-installer | Composer installer plugin that automatically discovers and installs PHP_CodeSniffer coding standards (rulesets) from Composer packages. It configures PHPCS installed_paths for you, avoiding manual symlinks and configuration. Supports PHPCS 3/4 and Composer 2.2+. | 596 | 603 | 39 | 4M | 8 | 34.0 | 66.3 | MIT | 5 months ago | |
| deeplcom/deepl-php | Official DeepL API PHP client. Translate text and documents with simple DeepLClient methods, using your API auth key. Install via Composer. Supports PHP 7.3+ (recommended 8.1+). Access DeepL’s high-quality translation features in PHP apps. | 261 | 264 | 30 | 330K | 23 | 38.1 | 60.2 | MIT | 1 day ago | |
| dflydev/dot-access-data | Access and modify nested PHP arrays/objects using dot notation. Set, get, check, and append values with simple paths like a.b.c. Supports defaults and throws exceptions for missing paths—handy for configs and deep data structures. | 718 | 724 | 20 | 10M | 5 | 26.8 | 66.8 | MIT | 1 year ago | |
| doctrine/coding-standard | Doctrine Coding Standard provides a shared PHP_CodeSniffer ruleset used across Doctrine projects. Based heavily on Slevomat, it helps enforce consistent formatting, naming, and best practices in PHP codebases via an easy-to-install package. | 319 | 322 | 49 | 354K | 5 | 33.5 | 54.0 | MIT | 6 months ago | |
| doctrine/common | Doctrine Common extends core PHP with shared utilities used across Doctrine projects. Includes collections, event management, caching helpers, annotations support (legacy), reflection and class loading tools. A foundational component for Doctrine ORM and related libraries. | 5,809 | 5,837 | 288 | 4M | 23 | 70.2 | 59.3 | MIT | 1 year ago | |
| doctrine/dbal | Doctrine DBAL is a powerful PHP database abstraction layer providing consistent APIs across drivers, flexible query execution, and rich schema introspection/management tools for building and migrating database schemas in a portable way. | 9,698 | 9,856 | 1,374 | 8M | 278 | 89.9 | 74.9 | MIT | 3 weeks ago | |
| doctrine/mongodb-odm | Doctrine MongoDB ODM is an object document mapper for PHP that brings Doctrine-style persistence to MongoDB. Define documents with metadata, map fields and relations, run queries, and handle unit of work, identity map, and migrations for MongoDB apps. | 1,095 | 1,108 | 515 | 392K | 102 | 69.5 | 71.0 | MIT | 2 months ago | |
| doctrine/mongodb-odm-bundle | Symfony bundle integrating Doctrine MongoDB ODM for mapping PHP documents to MongoDB. Provides configuration, DI services, console commands, and tooling to manage connections, document managers, and repositories in Symfony apps. | 384 | 388 | 229 | 322K | 12 | 41.4 | 52.9 | MIT | 2 months ago | |
| dompdf/dompdf | Dompdf is a PHP HTML-to-PDF converter with a CSS 2.1-focused rendering engine. Supports external stylesheets, complex tables, common image formats, basic SVG, and runs without external PDF libraries. Requires PHP 7.1+ and DOM/MBString. | 11,103 | 11,264 | 1,825 | 5M | 511 | 89.0 | 71.4 | LGPL-2.1 | 1 month ago | |
| editorconfig-checker/editorconfig-checker | CLI tool to validate files against your .editorconfig rules. Scan projects and report formatting issues (indentation, line endings, charset, trailing whitespace, final newline). Ideal for CI pipelines and keeping code style consistent across teams. | 74 | 74 | 18 | 26K | 3 | 30.9 | 43.1 | MIT | 1 year ago | |
| escapestudios/symfony2-coding-standard | PHP_CodeSniffer ruleset applying Symfony2 coding standards. Helps enforce consistent formatting, naming, and best practices in Symfony/PHP projects. Easy to install via Composer and integrate into CI to catch style issues early. | 406 | 411 | 102 | 125K | 15 | 9.4 | 38.7 | MIT | — | |
| felixfbecker/language-server-protocol | PHP classes and data structures for the Microsoft Language Server Protocol (LSP). Use it to build language servers/clients in PHP with typed protocol messages and capabilities. Install via Composer: felixfbecker/language-server-protocol. | 224 | 225 | 14 | 1M | 0 | 24.3 | 62.5 | ISC | 1 year ago | |
| fig/log-test | Testing utilities for PSR-3 (psr/log): includes LoggerInterfaceTest for verifying LoggerInterface compliance and TestLogger mock for unit tests. Intended for dev/test use, with versions aligned to psr/log 1.x–3.x compatibility. | 10 | 10 | 6 | 156K | 0 | 21.4 | 65.0 | MIT | 4 months ago | |
| fig-r/psr2r-sniffer | PHP_CodeSniffer ruleset implementing PSR-2-R for PHP 8.1+ projects. Includes 190+ sniffs, supports CI, and can auto-fix many issues via phpcbf. Install with Composer and reference the bundled PSR2R ruleset in phpcs.xml. | 32 | 33 | 8 | 23K | 0 | 29.5 | 46.2 | MIT | 2 months ago | |
| fruitcake/laravel-cors | Laravel middleware to handle Cross-Origin Resource Sharing (CORS). Configure allowed origins, methods, headers, credentials, and exposed headers via a config file. Adds proper CORS response headers and supports preflight OPTIONS requests for APIs and SPAs. | 6,249 | 6,235 | 608 | 795K | 37 | 40.0 | 50.0 | MIT | 4 years ago | |
| fruitcake/php-cors | Standalone PHP CORS library and Symfony HttpFoundation middleware implementing the W3C CORS spec. Configure allowed origins, methods, headers, exposed headers, and max-age; supports regex origin patterns. Used by Stack and Laravel integrations. | 311 | 318 | 20 | 9M | 2 | 25.8 | 65.9 | MIT | 4 months ago | |
| fzaninotto/faker | Faker is a PHP library for generating fake data: names, addresses, phone numbers, text, dates, and more. Ideal for seeding databases, creating fixtures, and testing apps, with locale-aware providers and easy extensibility. | 26,694 | 26,716 | 3,595 | 833K | 76 | 41.8 | 59.5 | MIT | 5 years ago | |
| geoip2/geoip2 | — | 2,480 | 2,600 | 289 | 2M | 1 | 50.3 | 46.9 | Apache-2.0 | 4 months ago | |
| gettext/gettext | PHP library (PHP 7.2+) to import, edit, and export gettext translations. Load from PO/MO/JSON/PHP/JS, scan source files to extract strings, manage Translation/Translations objects, and generate outputs like PO, MO, and JSON for localization workflows. | 703 | 726 | 139 | 704K | 23 | 44.0 | 60.4 | MIT | 1 year ago | |
| google/apiclient | Official Google APIs Client Library for PHP (PHP 8+). Access Google services like Gmail, Drive, and YouTube from your server with supported, maintained clients (critical fixes/security only; no new features). Install via Composer: google/apiclient. | 9,769 | 9,918 | 3,554 | 4M | 17 | 74.8 | 49.8 | Apache-2.0 | 1 week ago | |
| google/auth | Official Google Auth library for PHP. Implements OAuth 2.0 and Application Default Credentials (ADC) for authenticating to Google APIs and Google Cloud. Install via Composer and use with HTTP clients like Guzzle to authorize API calls. | 1,392 | 1,436 | 194 | 6M | 17 | 47.5 | 67.8 | Apache-2.0 | 3 weeks ago | |
| google/cloud-core | Shared core infrastructure for Google Cloud PHP libraries, including common transport, auth, retry, and configuration utilities. Not intended for direct use—required by other Google Cloud components. Stable GA with backwards-compatible minor and patch releases. | 343 | 346 | 21 | 3M | 0 | 31.6 | 65.0 | Apache-2.0 | 1 day ago | |
| google/cloud-firestore | Idiomatic PHP client for Google Cloud Firestore. Install via Composer, authenticate with Google Cloud credentials, and use the generated FirestoreClient (gRPC required) to read/write documents and collections with robust error handling and API docs support. | 180 | 182 | 34 | 96K | 0 | 31.2 | 44.3 | Apache-2.0 | 1 day ago | |
| google/cloud-pubsub | Idiomatic PHP client for Google Cloud Pub/Sub. Publish and consume messages between services using REST or gRPC (streaming supported). Install via Composer (google/cloud-pubsub) and authenticate with Google Cloud credentials. | 90 | 94 | 24 | 531K | 0 | 31.0 | 61.2 | Apache-2.0 | 1 day ago | |
| google/cloud-spanner | Idiomatic PHP client for Google Cloud Spanner, a globally scalable, strongly consistent relational database. Install via Composer with gRPC, authenticate with Google Cloud credentials, and run SQL queries/transactions. Supports multiplexed sessions and caching. | 20 | 20 | 8 | 10K | 0 | 29.9 | 43.8 | Apache-2.0 | 1 day ago | |
| google/cloud-storage | Idiomatic PHP client for Google Cloud Storage. Upload/download objects, manage buckets and ACLs, and use a gs:// stream wrapper for simple file access. Part of the Google Cloud PHP libraries; supports standard GCP authentication. | 343 | 349 | 30 | 3M | 0 | 32.3 | 63.0 | Apache-2.0 | 1 day ago | |
| google/cloud-translate | Idiomatic PHP client for Google Cloud Translation. Supports V2 (handwritten) and V3 (generated) APIs to translate text, detect language, and manage datasets/models. Auth via Google Cloud credentials; install with Composer for easy integration. | 201 | 208 | 22 | 455K | 0 | 31.0 | 54.5 | Apache-2.0 | 1 day ago | |
| grasmash/expander | Expander is a Laravel package for managing feature rollouts and gating functionality. It helps you define “expansions” that can be enabled per environment, user, or percentage, making it easy to ship safely, run experiments, and toggle features without redeploys. | 139 | 140 | 10 | 1M | 2 | 23.5 | 63.2 | MIT | 1 year ago | |
| graylog2/gelf-php | PHP library for creating and sending GELF messages to Graylog. Build structured log entries with additional fields, levels, and timestamps, and ship them over supported transports (e.g., UDP/TCP/HTTP) for centralized logging and analysis. | 418 | 433 | 86 | 578K | 8 | 36.6 | 56.9 | MIT | 1 year ago | |
| greg-1-anderson/composer-test-scenarios | Run Composer dependency test scenarios by quickly switching constraints and lockfiles in CI. Define multiple sets of requirements, install each scenario, and verify your package works across a matrix of versions and environments with minimal scripting. | 30 | 31 | 8 | 53 | 2 | 1.0 | 7.1 | — | — | |
| hassankhan/config | Lightweight PHP config loader (PHP 7.4+) for files or strings. Supports PHP, INI, XML, JSON, YAML (via Symfony Yaml), Properties and serialized formats. Load single/multiple files or directories, optional files, and get/set values with simple API. | 975 | 1,024 | 134 | 93K | 16 | 37.6 | 41.7 | MIT | 1 year ago | |
| httpsoft/http-message | PSR-7 HTTP message implementation for PHP with strict types and clean, immutable value objects. Provides Request/Response, ServerRequest, URI, headers, streams, and factories, designed for interoperability across frameworks and middleware. | 86 | 86 | 5 | 30K | 0 | 26.6 | 41.3 | MIT | 1 year ago | |
| httpsoft/http-server-request | PSR-7/PSR-17 friendly ServerRequest implementation and helpers for building HTTP server requests in PHP. Lightweight, standards-based request object with convenient access to headers, cookies, query params, body, uploaded files, and server params. | 15 | 15 | 0 | 3K | 0 | 22.8 | 37.8 | MIT | 1 year ago | |
| icanhazstring/composer-unused | composer-unused detects and removes unused Composer dependencies in PHP/Laravel projects. It analyzes your codebase to find packages not referenced, reports what can be safely removed, and helps keep composer.json/lock lean and maintainable. | 1,676 | 1,678 | 57 | 220K | 10 | 42.2 | 39.4 | MIT | 2 months ago | |
| idiosyncratic/coding-standard | Idiosyncratic coding standard for all Idiosyncratic Projects, based on Doctrine Coding Standard. Adds @public-read-only for private properties exposed as read-only (e.g., via __get) and disables alignment of equals signs in assignments. | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | — | — | |
| intervention/gif | Native PHP GIF encoder/decoder for GIF data streams with no image extensions required. Decode files or binary content, and build animated GIFs via a Builder. Includes optional GD-based Splitter to extract frames into GDImage objects. Supports PHP 8.3+. | 55 | 57 | 8 | 2M | 2 | 22.4 | 65.0 | MIT | 3 weeks ago | |
| intervention/image | Intervention Image is a popular PHP image handling and manipulation library. Resize, crop, encode, add filters and effects, and generate thumbnails with a simple API. Supports GD and Imagick, integrates easily with Laravel, and works with local or remote images. | 14,331 | 14,844 | 1,494 | 4M | 17 | 73.1 | 46.0 | MIT | 2 weeks ago | |
| jakub-onderka/php-console-color | Abandoned PHP library for styling console output with ANSI colors. Formerly used to print colored text in terminals (see example.php). Consider using the maintained alternative: https://github.com/php-parallel-lint/PHP-Console-Color | 6,127 | 5,930 | 24 | 308K | 2 | 46.7 | 27.8 | BSD-2-Clause | 7 years ago | |
| jakub-onderka/php-console-highlighter | Abandoned package for syntax-highlighting PHP code in the terminal using ANSI colors. Provides a Highlighter that outputs highlighted whole-file or snippet content for CLI display. Suggested alternative: php-parallel-lint/PHP-Console-Highlighter. | 6,200 | 5,952 | 17 | 270K | 0 | 47.3 | 26.8 | MIT | 7 years ago | |
| jakub-onderka/php-parallel-lint | Abandoned PHP tool for fast parallel linting (syntax checking) of PHP files with colored output and formats like Checkstyle/JSON. Install via Composer and run on directories with options for excludes, jobs, stdin, and git blame. Suggested alternative: php-parallel-lint/PHP-Parallel-Lint | 642 | 634 | 59 | 43K | 19 | 17.1 | 40.5 | NOASSERTION | 10 years ago | |
| jfcherng/php-color-output | Lightweight PHP utility to add ANSI colors and styles to CLI output. Provides named foreground/background styles, special effects (bold, underline, blink, reverse), aliases, and a simple CliColor::color() helper to format strings for terminals. | 14 | 14 | 2 | 200K | 0 | 20.4 | 65.0 | MIT | 4 years ago | |
| jfcherng/php-diff | Generate diffs between two strings with multiple renderers: context, unified, and JSON text; plus HTML combined, inline, and side-by-side views. Includes helpers and a default stylesheet for HTML output. Requires PHP 8.3+ and ext-iconv. | 470 | 474 | 51 | 199K | 5 | 34.5 | 43.9 | BSD-3-Clause | 4 days ago | |
| jfcherng/php-sequence-matcher | PHP longest sequence matcher inspired by Python difflib. Compare arrays or strings to find matching blocks and measure similarity, useful for diffing and change detection. Lightweight, modern PHP (8.4+) package. | 9 | 9 | 4 | 207K | 0 | 22.3 | 65.0 | BSD-3-Clause | 4 days ago | |
| jmikola/geojson | PHP library implementing the GeoJSON specification. Provides geometry, feature, and collection objects with serialization/deserialization support and validation-friendly structures. Install via Composer and use to model and exchange GeoJSON data. | 305 | 310 | 47 | 180K | 8 | 27.8 | 48.6 | MIT | 2 years ago | |
| joomla/application | Joomla Framework Application package providing AbstractApplication base classes for building apps. Includes lifecycle initialise hook, input/config handling, execute flow with doExecute(), response headers/body helpers, and PSR-3 LoggerAwareInterface support for integrating logging. | 23 | 25 | 33 | 10K | 1 | 24.5 | 43.3 | GPL-2.0 | 8 months ago | |
| joomla/archive | Joomla Archive intelligently selects adapters to extract common archives (zip, tar/tgz/tbz2, gz, bz2). Supports PHP 8.1+, with optional zlib/bz2 extensions, and lets you override default extractors by registering custom adapters. | 3 | 4 | 8 | 14K | 0 | 24.0 | 57.4 | GPL-2.0 | 8 months ago | |
| joomla/console | Joomla Framework Console provides the infrastructure for building PHP command-line applications. It offers a base Application, command routing, input/output handling, and helpers to create structured CLI tools and workflows using composer-installed components. | 9 | 10 | 3 | 13K | 0 | 21.9 | 50.8 | GPL-2.0 | 8 months ago | |
| joomla/controller | Lightweight Joomla Framework controller package. Defines a ControllerInterface and an AbstractController base that wires in Input and Application objects. Implement execute() in your controller (single-task by default), with support for multi-task or HMVC patterns. | 2 | 3 | 5 | 286 | 0 | 21.7 | 32.2 | GPL-2.0 | 8 months ago | |
| joomla/database | Joomla Database provides a generic database layer and drivers for building queries and managing connections. Includes a factory for creating drivers, and helpers for safe input handling (escape/quote), making it easier to integrate database access in custom PHP apps. | 31 | 31 | 37 | 13K | 18 | 36.1 | 52.2 | GPL-2.0 | 1 month ago | |
| joomla/di | PSR-11 compatible dependency injection (IoC) container from the Joomla Framework. Provides a powerful, flexible DI solution for PHP 8.1+ applications, with Composer installation and support for stable/unstable releases. | 15 | 16 | 19 | 12K | 3 | 23.3 | 47.4 | GPL-2.0 | 8 months ago | |
| joomla/event | Joomla Event provides the building blocks for PHP event systems, including a dispatcher implementation with prioritized listeners. Use it to define, register, and trigger events in a clean, decoupled way. Requires PHP 8.1+. | 8 | 9 | 9 | 15K | 0 | 22.1 | 52.8 | GPL-2.0 | 8 months ago | |
| joomla/filesystem | Joomla Framework filesystem utilities for common file operations. Includes helpers for safe filenames, uploads, and path handling, with a patcher component for applying file patches. Install via Composer and use in PHP apps needing lightweight filesystem tooling. | 11 | 12 | 19 | 11K | 6 | 27.1 | 50.4 | GPL-2.0 | 7 months ago | |
| joomla/filter | Joomla Filter provides input sanitization and filtering utilities for PHP apps. Use InputFilter to allow/block specific HTML tags and attributes, and OutputFilter for safe output helpers like URL-safe strings. Composer installable, lightweight, framework-ready. | 15 | 16 | 22 | 33K | 3 | 26.7 | 55.3 | GPL-2.0 | 6 months ago | |
| joomla/input | Joomla Input provides an injectable request input API with Input plus Cookie, Files, and Json subclasses. It abstracts input sources (e.g., $_REQUEST or JSON payloads), supports filtering, and improves testability versus static access like JRequest. | 9 | 10 | 15 | 10K | 1 | 22.6 | 48.9 | GPL-2.0 | 8 months ago | |
| joomla/language | Joomla Framework Language package for internationalization and translations. Provides interfaces and utilities to manage language strings, load translation files, and integrate multilingual support in PHP 8.1+ applications (requires joomla/string). | 4 | 4 | 13 | 10K | 0 | 21.9 | 53.6 | GPL-2.0 | 8 months ago | |
| joomla/registry | Key-value registry and configuration store for PHP. Load data from strings, files, arrays, or objects; access and modify values with getters/setters and dot-paths for nested keys; remove entries; ArrayAccess support; import/export across formats like JSON and XML. | 16 | 18 | 19 | 17K | 1 | 22.4 | 48.8 | GPL-2.0 | 8 months ago | |
| joomla/router | Joomla Framework Router registers application routes and dispatches incoming request URIs to controller methods. PHP 8.1+ compatible, install via Composer (joomla/router ~3.0). Suitable for building clean, maintainable routing in PHP apps. | 8 | 10 | 11 | 11K | 0 | 21.9 | 49.9 | GPL-2.0 | 8 months ago | |
| joomla/session | Framework-agnostic PHP 8.1+ session management from the Joomla Framework. Provides interfaces and utilities to start and manage sessions, store and retrieve session data, and integrate session handling cleanly within your application. | 5 | 6 | 20 | 11K | 0 | 22.7 | 53.0 | GPL-2.0 | 8 months ago | |
| joomla/string | Joomla Framework String package for robust string handling in PHP. Installable via Composer, it provides utilities and helpers for common string operations and is maintained as part of the Joomla Framework ecosystem. | 18 | 20 | 18 | 98K | 1 | 24.1 | 60.3 | GPL-2.0 | 8 months ago | |
| joomla/test | A small Joomla Framework utility package that streamlines PHPUnit unit testing. Provides a TestHelper with bulk mock configuration (callbacks and canned return values) plus reflection helpers to reduce repetitive test setup and access internals when needed. | 3 | 4 | 6 | 9K | 0 | 23.8 | 54.3 | GPL-2.0 | 5 months ago | |
| joomla/uri | Joomla Framework Uri package for parsing and manipulating URIs. Provides mutable Uri and safe-to-share UriImmutable (both via UriInterface) plus UriHelper with UTF-8 safe parse_url(). Build, edit, and output hosts, ports, paths, users, passwords, and queries. | 6 | 8 | 9 | 17K | 1 | 22.8 | 55.1 | GPL-2.0 | 8 months ago | |
| joomla/utilities | Joomla Utilities provides lightweight helper classes for common tasks, including ArrayHelper methods to cast arrays to integers, convert arrays to objects/strings, and extract arrays from objects—handy utilities for PHP apps and Joomla Framework projects. | 3 | 4 | 11 | 16K | 1 | 21.9 | 58.8 | GPL-2.0 | 8 months ago | |
| kevinlebrun/colors.php | A lightweight PHP library for working with colors: parse and validate HEX/RGB/HSL, convert between formats, generate palettes, adjust brightness/saturation, and compute contrast/accessible text colors. Handy utilities for theming and UI design in PHP apps. | 342 | 359 | 37 | 74K | 3 | 3.6 | 32.9 | MIT | — | |
| kitloong/laravel-migrations-generator | Generate Laravel migration files from an existing database schema, including columns, indexes, and foreign keys. Works with MySQL, MariaDB, PostgreSQL, SQL Server, and SQLite via an artisan command with table include/ignore options. | 2,845 | 2,859 | 292 | 243K | 0 | 52.3 | 31.5 | MIT | 3 weeks ago | |
| korridor/laravel-has-many-merged | Adds a “hasManyMerged” Eloquent relationship to merge multiple hasMany relations into one, so you can query, eager load, paginate, and sort related models through a single unified relation—ideal for combining items from different sources or tables. | 90 | 90 | 3 | 5K | 5 | 24.2 | 30.4 | MIT | 1 year ago | |
| laminas/laminas-coding-standard | Provides Laminas PHP coding standard rules and tooling to enforce consistent code style and quality across projects, integrating with CI to automate checks and help teams follow Laminas conventions. | 33 | 33 | 17 | 53K | 5 | 27.0 | 54.2 | BSD-3-Clause | 10 months ago | |
| laminas/laminas-zendframework-bridge | Provides compatibility bridge for Laminas to ease migration from Zend Framework. Maps legacy Zend class names to Laminas equivalents via autoloading, allowing existing Zend-based apps and libraries to run with minimal changes during upgrades. | 1,189 | 1,189 | 25 | 527K | 1 | 36.2 | 44.4 | BSD-3-Clause | 2 years ago | |
| league/climate | League CLImate makes PHP CLI output nicer with easy colored text, formatting, and styled messages. Install via Composer and call methods like red() or blue() to print readable, eye-catching terminal output for scripts and commands. | 1,885 | 1,932 | 124 | 209K | 13 | 17.1 | 32.8 | MIT | — | |
| league/container | League Container is a PSR-11 compliant dependency injection container for PHP. Register services, factories, and shared instances; auto-resolve dependencies and wire apps cleanly. Lightweight, standards-based, and well-documented. | 863 | 905 | 104 | 2M | 5 | 38.1 | 55.9 | MIT | 3 weeks ago | |
| league/oauth2-client | OAuth 2.0 client library for PHP. Provides a solid base for implementing “Sign in with …” flows and RFC 6749-compliant integrations, with a GenericProvider for bearer-token services and an extensible architecture for custom providers. | 3,799 | 3,874 | 769 | 3M | 37 | 76.5 | 74.1 | MIT | 4 months ago | |
| league/oauth2-server | Standards-compliant OAuth 2.0 authorization server for PHP. Protect APIs with bearer access tokens, issue and refresh tokens, and support common grants (auth code, client credentials, device, implicit, password, refresh) with PSR-7 interoperability and RFC support. | 6,643 | 6,724 | 1,135 | 3M | 53 | 86.1 | 74.8 | MIT | 4 months ago | |
| league/tactician | Tactician is a small, pluggable PHP command bus. Route commands to handlers and extend behavior via middleware and plugins (logging, containers, Doctrine transactions, queuing, events, locking). Install with Composer and integrate with your framework of choice. | 864 | 872 | 86 | 187K | 2 | 31.0 | 38.4 | MIT | 3 months ago | |
| lmc/coding-standard | Deprecated PHP coding standard for Alma Career Czechia (formerly LMC). Based on PSR-12 and partially PER 2.0, delivered via EasyCodingStandard with rules for PHP-CS-Fixer and PHP_CodeSniffer to enforce readable, consistent code and catch common mistakes. | 0 | 0 | 0 | 1K | 0 | 0.0 | 30.3 | MIT | — | |
| lukascivil/treewalker | Laravel package for walking, searching, and manipulating tree structures with a simple API. Traverse nodes, run callbacks, and query descendants/ancestors efficiently—useful for nested categories, menus, and other hierarchical data. | 73 | 76 | 28 | 33K | 0 | 23.1 | 43.0 | MIT | 6 years ago | |
| markbaker/complex | PHP class library for complex number math. Create and operate on complex values with add/subtract/multiply/divide plus polar functions (theta, rho), conjugate/inverse, roots, logs, exponentials, powers, and a full set of trig and hyperbolic functions. | 1,655 | 1,657 | 12 | 7M | 1 | 30.2 | 59.4 | MIT | 4 years ago | |
| markbaker/matrix | PHPMatrix is a PHP matrix algebra library supporting addition, subtraction, multiplication, division, determinants, inverses, transpose, trace, solve (A·X=B), and LU/QR decompositions. Install via Composer as markbaker/matrix and use Matrix objects from arrays. | 1,504 | 1,509 | 13 | 7M | 2 | 29.8 | 60.9 | MIT | 4 years ago | |
| matthewbdaly/laravel-azure-storage | Deprecated (March 2024): Azure Blob Storage driver for Laravel’s Storage API via Flysystem 3 Azure adapter. Provides a custom “azure” disk for Blob containers/URLs. Use the maintained replacement: https://github.com/Azure-OSS/azure-storage-php-adapter-laravel | 229 | 226 | 56 | 60K | 1 | 13.7 | 39.3 | MIT | 3 years ago | |
| maxmind/web-service-common | Shared internal code for MaxMind’s PHP web service client APIs (not for direct third‑party use). Requires PHP 8.1+. Provides common components, dependencies managed via Composer, PSR‑12 style, semantic versioning, Apache 2.0 licensed. | 297 | 299 | 14 | 2M | 0 | 24.9 | 62.4 | Apache-2.0 | 2 months ago | |
| maxmind-db/reader | PHP library for reading MaxMind DB (.mmdb) files to look up data by IPv4/IPv6 subnet. Supports fast lookups via optional C extension (libmaxminddb) or a pure PHP implementation installed with Composer. Suitable for GeoIP-style IP metadata queries. | 697 | 708 | 84 | 2M | 5 | 36.3 | 58.9 | Apache-2.0 | 4 months ago | |
| mayflower/mo4-coding-standard | PHP_CodeSniffer ruleset for the MO4 coding standard, extending Symfony’s standard with extra sniffs for aligned array double arrows, multiline array formatting, strict property docblocks, and lexicographically sorted use statements (configurable order). | 17 | 17 | 10 | 7K | 2 | 26.1 | 44.3 | MIT | 3 weeks ago | |
| mediawiki/mediawiki-codesniffer | PHP CodeSniffer ruleset that enforces MediaWiki coding conventions. Install via Composer, add the MediaWiki standard to your phpcs.xml, then run phpcs/phpcbf to lint and auto-fix issues. Includes configurable sniffs for project-specific needs. | 33 | 34 | 12 | 63K | 0 | 0.5 | 45.1 | GPL-2.0 | — | |
| mikey179/vfsstream | vfsStream provides a PHP stream wrapper for an in-memory virtual file system, ideal for unit tests. Mock files, directories, permissions, and content without touching disk, and use it with PHPUnit, SimpleTest, or any test framework. | 1,439 | 1,459 | 105 | 2M | 27 | 44.2 | 66.5 | BSD-3-Clause | 1 year ago | |
| mobiledetect/mobiledetectlib | Lightweight PHP library to detect mobile devices and tablets using the User-Agent and HTTP headers. Simple API to check for phones, tablets, OS and browsers. Actively maintained (4.8.x) with older LTS/deprecated branches available. | 10,692 | 10,786 | 2,636 | 3M | 30 | 70.5 | 54.5 | MIT | 2 years ago | |
| mongodb/mongodb | High-level MongoDB PHP library built on the mongodb extension. Provides client, database, and collection abstractions with a full-featured API for CRUD operations plus common commands like index and collection management. Install via Composer; requires PECL mongodb. | 1,614 | 1,693 | 262 | 1M | 2 | 45.7 | 48.7 | Apache-2.0 | 1 month ago | |
| moontoast/math | PHP math utilities for Laravel and general use, offering convenient helpers for precise calculations, percentages, rounding, and numeric formatting. Lightweight and easy to integrate into apps where consistent arithmetic and number handling matter. | 245 | — | 31 | — | 4 | 3.3 | 1.1 | Apache-2.0 | — | |
| mpdf/mpdf | mPDF is a PHP library for generating PDF files from UTF-8 HTML. Install via Composer and render documents with simple WriteHTML() calls. Supports modern PHP versions and requires mbstring and gd, with extras like zlib for advanced features. | 4,669 | 4,849 | 1,109 | 2M | 309 | 79.8 | 76.9 | GPL-2.0 | 3 years ago | |
| mpdf/qrcode | Laravel-friendly QR code generator for mPDF: create QR codes as images/data URIs and embed them in PDFs. Simple API for sizing, error correction, and output formats—ideal for invoices, tickets, and labels. | 49 | 50 | 15 | 78K | 1 | 0.9 | 44.0 | LGPL-3.0 | — | |
| myclabs/php-enum | myclabs/php-enum brings SplEnum-style enums to PHP. Define enum classes, get autogenerated static constructors, validate values, compare instances, list possible values, and use enums as parameter/return types with extra methods—without a PHP extension. | 2,729 | 2,764 | 128 | 3M | 12 | 50.2 | 54.3 | MIT | 1 year ago | |
| nesbot/carbon | Carbon is a PHP DateTime extension that makes working with dates and times simple and readable. Parse, format, compare, add/subtract intervals, handle timezones and localization, and use fluent, human-friendly helpers for common date tasks. | 170 | 584 | 26 | 12M | 3 | 27.3 | 66.2 | MIT | 3 days ago | |
| netresearch/jsonmapper | Map JSON to strongly-typed PHP objects with JSONMapper. Hydrate class properties from stdClass/arrays, support nested objects and collections, docblock/type-hint based mapping, and optional strict checking for missing or invalid fields. | 1,570 | 1,596 | 186 | 2M | 5 | 14.8 | 44.4 | OSL-3.0 | — | |
| nunomaduro/phpinsights | PHP Insights is a terminal tool to analyze PHP code quality, style, architecture, and complexity. Works out of the box with Laravel (artisan insights), Symfony, Yii, Magento, and more, with built-in checks for reliability and loose coupling. | 5,592 | 5,593 | 294 | 292K | 69 | 77.1 | 55.6 | MIT | 1 month ago | |
| ocramius/proxy-manager | ProxyManager generates and manages PHP proxy classes (virtual proxies, lazy-loading value holders, etc.) to implement the Proxy Pattern. Useful for lazy-loading, interceptors, and advanced DI/ORM scenarios. Install via Composer and use factory helpers to create proxies. | 4,972 | 4,992 | 191 | 230K | 37 | 72.2 | 50.1 | MIT | 4 years ago | |
| paypal/paypal-server-sdk | Official PayPal Server SDK for PHP. Integrates with a limited set of PayPal REST APIs (Orders, Payments, Vault, Transaction Search, Subscriptions). Supports sandbox/live environments, configurable timeouts, and optional retries/backoff. | 55 | 54 | 16 | 97K | 6 | 2.4 | 46.0 | NOASSERTION | — | |
| pdepend/pdepend | PHP Depend (PDepend) is a static analysis tool for PHP that measures software metrics and detects design issues. It generates reports (XML, HTML, etc.) to help spot complexity, coupling, and code structure problems for better maintainability. | 955 | 974 | 138 | 2M | 16 | 41.2 | 59.8 | BSD-3-Clause | 2 years ago | |
| pepakriz/phpstan-exception-rules | PHPStan extension that adds custom rules for analyzing exceptions. It helps catch improper throwing/catching, missing @throws annotations, and other exception-related issues to improve correctness and maintainability in PHP codebases. | 109 | 111 | 10 | 5K | 8 | 32.1 | 29.7 | — | 4 years ago | |
| phalcon/phalcon | Phalcon is a high-performance PHP web framework delivered as a C extension, offering low overhead, fast request handling, and an MVC architecture. Includes routing, DI, ORM, templating, caching, and other tools for building modern PHP apps. | 245 | 245 | 50 | 12 | 94 | 22.6 | 26.7 | MIT | — | |
| phing/phing | Phing is a PHP build tool based on Apache Ant. Define XML build files to automate testing (PHPUnit), packaging, deployments, file transforms, filesystem tasks, SQL, SCM ops (Git/SVN/Hg), and docs generation. Extensible via custom PHP tasks. | 1,166 | 1,202 | 319 | 279K | 5 | 46.5 | 43.6 | LGPL-3.0 | 2 months ago | |
| phing/phing-composer-configurator | Composer plugin that installs and configures Phing from composer.json. Ensures the Phing binary and settings are set up during Composer install/update, simplifying Phing integration in PHP projects and keeping build tooling consistent. | 5 | 5 | 1 | 782 | 0 | 0.2 | 29.3 | — | — | |
| php-amqplib/php-amqplib | PHP client for RabbitMQ using the AMQP 0-9-1 protocol. Create connections and channels, publish and consume messages, manage exchanges/queues, acks and QoS. Widely used, framework-agnostic, suitable for workers and microservices. | 4,593 | 4,703 | 1,026 | 2M | 15 | 72.1 | 53.1 | LGPL-2.1 | 4 months ago | |
| php-collective/code-sniffer | PHP_CodeSniffer ruleset by PhpCollective: PSR-2 compliant with many extra sniffs and fixers (incl. PSR-12) plus an optional strict standard. Install as require-dev, add a phpcs.xml, then run vendor/bin/phpcs or phpcbf (or composer scripts). | 6 | 6 | 0 | 19K | 0 | 29.6 | 55.9 | MIT | 18 hours ago | |
| php-mock/php-mock | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 369 | 374 | 20 | 545K | 3 | 28.0 | 51.9 | WTFPL | 2 months ago | |
| php-parallel-lint/php-code-style | Run style checks and enforce consistent PHP code formatting as part of your CI or local workflow. Includes an easy CLI setup for scanning projects, reporting violations, and keeping codebases clean and readable with minimal configuration. | 1 | 1 | 1 | 625 | 0 | 0.1 | 34.5 | — | — | |
| php-parallel-lint/php-parallel-lint | Parallel PHP syntax checker that lints files concurrently for faster CI runs. Supports plain/colored text, JSON, and checkstyle output, plus optional blame to find the commit that introduced errors. Install via Composer or use the provided PHAR. | 351 | 355 | 25 | 2M | 23 | 31.3 | 71.9 | NOASSERTION | 2 years ago | |
| php-school/terminal | php-school/terminal is a PHP library for building interactive terminal apps. It provides input/output helpers, ANSI styling, cursor control, and terminal state management, making it easy to create rich CLI UIs with prompts, menus, and formatted output. | 21 | 21 | 6 | 11K | 2 | 21.5 | 44.8 | — | 6 years ago | |
| php-standard-library/psalm-plugin | Psalm plugin for PHP Standard Library (PSL) that improves static analysis by adding precise types for PSL Type specs (e.g., shape/optional coercions). Install via Composer and enable with psalm-plugin to get more accurate inferred array shapes and values. | 25 | 25 | 7 | 27K | 1 | 25.2 | 49.1 | MIT | 3 weeks ago | |
| php-webdriver/webdriver | PHP bindings for Selenium WebDriver. Drive real browsers from PHP via W3C WebDriver (and legacy JsonWireProtocol), compatible with Selenium 2–4. Install via Composer and connect to Selenium Server or other remote ends for automation/testing. | 5,213 | 5,244 | 847 | 2M | 19 | 46.4 | 45.0 | MIT | — | |
| phpcompatibility/php-compatibility | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,282 | 2,294 | 204 | 2M | 86 | 65.6 | 80.1 | LGPL-3.0 | 4 months ago | |
| phpcsstandards/phpcsdevcs | PHPCSDevCS provides PHP_CodeSniffer rules and tooling to standardize coding style for PHPCS developers and contributors. Use it to lint and enforce consistent formatting, naming, and best practices across your sniffs and related PHP code. | 9 | — | 1 | — | 4 | 21.1 | 0.9 | LGPL-3.0 | 4 months ago | |
| phpcsstandards/phpcsdevtools | Developer tools for building and maintaining PHP_CodeSniffer standards. Helps scaffold sniffs, run and debug PHPCS rules, manage tests, and streamline local workflows so you can create, validate, and ship custom coding standards faster. | 16 | 16 | 6 | 9K | 4 | 24.1 | 47.3 | LGPL-3.0 | 9 months ago | |
| phpcsstandards/phpcsextra | PHPCSExtra adds extra rules, sniffs, and tooling to enhance PHP_CodeSniffer code style checks. Designed to complement existing standards, it helps catch more issues, enforce consistency, and integrate smoothly into CI for cleaner PHP codebases. | 102 | 102 | 7 | 1M | 25 | 34.2 | 75.8 | LGPL-3.0 | 4 months ago | |
| phpcsstandards/phpcsutils | Utilities and helper classes for building and maintaining PHP_CodeSniffer (PHPCS) standards and sniffs. Provides common abstractions and compatibility helpers to simplify writing custom rulesets and speed up development of consistent coding standards. | 62 | 62 | 7 | 2M | 25 | 35.4 | 75.3 | LGPL-3.0 | 4 months ago | |
| phpdocumentor/graphviz | PHP library to create and render Graphviz DOT graphs. Build nodes and edges via a fluent API, generate DOT output, and render to common formats (PNG, SVG, PDF) through Graphviz executables—useful for diagrams, docs, and visualizing relations. | 96 | 100 | 16 | 745K | 1 | 23.2 | 64.0 | MIT | 4 years ago | |
| phpdocumentor/reflection | Static PHP code reflection that builds an object graph of your project (files, classes, functions, etc.) including parsed DocBlocks. Analyzes multiple files without executing code, uses less memory than runtime reflection, and supports PHP 5.2 up to your installed version. | 125 | 126 | 60 | 2M | 11 | 35.2 | 69.6 | MIT | 20 hours ago | |
| phpfastcache/phpfastcache | Phpfastcache is a fast, driver-based PHP caching library supporting PSR-6 and PSR-16. Works with many backends (files, APCu, Redis, Memcached, etc.), offers a unified API, and includes a type-aware v9 for PHP 8+. | 2,408 | 2,454 | 448 | 93K | 4 | 55.7 | 27.8 | MIT | 11 months ago | |
| phpfastcache/phpfastcache-devtools | Internal development tools used by Phpfastcache and its extensions. Provides utilities to support building, testing, and maintaining Phpfastcache-related packages and workflows. | 0 | 0 | 0 | 10 | 0 | 0.0 | 14.4 | MIT | — | |
| phpmailer/phpmailer | PHPMailer is a full-featured email-sending library for PHP. Send via SMTP with authentication, TLS/SSL, and support for HTML and plain-text messages. Includes attachments, embedded images, CC/BCC, custom headers, and robust error handling. | 22,087 | 22,986 | 9,845 | 2M | 28 | 77.9 | 46.4 | LGPL-2.1 | 3 months ago | |
| phpmd/phpmd | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,418 | 2,494 | 350 | 2M | 86 | 68.3 | 81.5 | BSD-3-Clause | 2 years ago | |
| phpoffice/phpspreadsheet | PhpSpreadsheet is a pure-PHP library to read and write spreadsheet files like Excel and LibreOffice Calc. Create, modify, and export workbooks across multiple formats with a rich API, documentation, and active community support. | 13,915 | 14,235 | 3,626 | 7M | 81 | 90.5 | 72.6 | MIT | 1 day ago | |
| phpseclib/bcmath_compat | BCMath compatibility layer for phpseclib that provides missing bcmath functions in pure PHP. Useful on hosts without the bcmath extension, enabling big integer math needed for cryptography and other arbitrary-precision operations. | 167 | — | 6 | — | 0 | 21.1 | — | MIT | 1 year ago | |
| phpseclib/phpseclib | Pure-PHP secure communications and crypto toolkit: SSH-2, SFTP, X.509, RSA/DSA/ECDSA/ECDH, Ed25519/Curve25519, big integers, and modern ciphers (AES, ChaCha20, Poly1305, GCM). MIT licensed with LTS branches. | 5,566 | 5,687 | 906 | 9M | 197 | 90.8 | 78.6 | MIT | 1 day ago | |
| pragmarx/coollection | Coollection repackages Laravel-style collections (via Tightenco\Collect) to let you access items as object properties. Traverse nested arrays/objects with fluent collection methods, then read values like $countries->where('name.common','US')->first()->currency->name. | 94 | 98 | 27 | 21K | 1 | 1.4 | 32.4 | MIT | — | |
| pragmarx/ia-arr | Illuminate\Support\Arr extracted from Laravel, repackaged as a framework-agnostic PHP library. Provides the full set of Arr helpers under the IlluminateAgnostic\Arr namespace to avoid conflicts, usable in any project (including Laravel). | 54 | 55 | 21 | 23K | 0 | 21.3 | 42.7 | MIT | 1 year ago | |
| pragmarx/ia-str | Framework-agnostic extraction of Laravel’s Illuminate\Support\Str and string helper functions, repackaged under IlluminateAgnostic\Str to avoid namespace conflicts. Use Str:: methods or global str_* helpers in any PHP project, including Laravel apps. | 52 | 52 | 11 | 22K | 3 | 1.3 | 36.5 | MIT | — | |
| pragmarx/random | Cryptographically secure random generator for PHP: create random strings, integers, bytes, hex, and regex-based patterns with options for size, case, prefixes/suffixes, and raw output. Falls back to Faker (if installed) for rich random data like names and dates. | 71 | 74 | 3 | 113K | 1 | 0.5 | 44.1 | MIT | — | |
| pragmarx/recovery | Generate customizable recovery/backup codes for 2FA account recovery. Create arrays, JSON, or (Laravel) Collections, and tune how many codes to make plus blocks and characters per block for your preferred format and length. | 89 | 90 | 13 | 97K | 2 | 21.6 | 49.8 | MIT | 4 years ago | |
| pragmarx/trivia | PragmaRX Trivia is a PHP package that ships a large collection of trivia questions/facts you can load and use in your app. Instantiate the Trivia class and fetch all entries to build games, quizzes, bots, or random “did you know?” prompts. | 4 | 4 | 0 | 0 | 0 | 20.3 | — | MIT | 8 years ago | |
| promphp/prometheus_client_php | Prometheus client for PHP with Counters, Gauges, Histograms, and Summaries. Supports Redis, Predis, APCu/APCng, and in-memory storage for aggregation across workers. Register metrics via CollectorRegistry and expose them in Prometheus text format. | 542 | 545 | 110 | 1M | 40 | 47.0 | 74.3 | Apache-2.0 | 2 weeks ago | |
| psalm/plugin-mockery | Adds Psalm static analysis support for the Mockery testing framework. Improves type inference and understanding of mocked objects and expectations in PHPUnit-style tests. Install via Composer and enable with psalm-plugin for better mock-related diagnostics. | 10 | 10 | 7 | 65K | 4 | 26.5 | 62.7 | MIT | 1 year ago | |
| psalm/plugin-phpunit | Psalm plugin that understands PHPUnit tests to improve static analysis accuracy. Adds PHPUnit-aware stubs and type inference so assertions, mocks, and test helpers are checked correctly. Requires Psalm v4+. Install via Composer and enable with psalm-plugin. | 77 | 79 | 37 | 380K | 20 | 36.9 | 68.0 | — | 3 weeks ago | |
| ramsey/coding-standard | ramsey/coding-standard provides Ramsey’s PHP_CodeSniffer ruleset to enforce consistent, modern PHP style across projects. Easy to install, integrates with CI, and helps catch formatting and code quality issues early with sensible defaults. | 10 | 10 | 4 | 2K | 0 | 25.8 | 37.1 | MIT | 1 month ago | |
| ramsey/uuid | Generate and work with UUIDs in PHP using ramsey/uuid. Create v1, v4, and other UUID types, parse and validate UUID strings, and integrate easily via Composer. Well-documented, widely used, and standards-aware for reliable identifiers. | 12,617 | 12,840 | 517 | 13M | 17 | 74.6 | 58.3 | MIT | 3 months ago | |
| rap2hpoutre/fast-excel | Fast Excel import/export for Laravel powered by Spout. Quickly export Eloquent models or collections to XLSX/ODS/CSV, customize column mapping, and download from controllers. Import files to collections, configure CSV options, or persist rows directly to the database. | 2,310 | 2,326 | 267 | 791K | 77 | 68.4 | 70.8 | MIT | 2 weeks ago | |
| recurly/recurly-client | Official PHP client for Recurly’s V3 API. Install via Composer, create a Client with your API key (US or EU region), and access all API operations in one place. Supports optional PSR-3 logging. | 173 | 174 | 94 | 93K | 12 | 37.0 | 52.9 | MIT | 2 months ago | |
| roave/backward-compatibility-check | CLI tool to detect backward-compatibility breaks between two versions of a PHP library. Compares the last SemVer git tag to current HEAD (or chosen refs) and fails CI on API breaks. Install via Composer or run with Docker. | 595 | 595 | 66 | 65K | 37 | 45.8 | 49.6 | MIT | 3 weeks ago | |
| robtrehy/laravel-user-preferences | Store and retrieve authenticated users’ preferences in Laravel, saved as JSON in a single DB column (default: users.preferences). Includes config publishing, migration to add the column, and optional caching via Laravel’s cache drivers with customizable keys. | 3 | 3 | 3 | 209 | 0 | 24.4 | 28.1 | MIT | 5 months ago | |
| rollbar/rollbar | Rollbar PHP SDK for real-time error monitoring and alerting. Works with frameworks like Laravel, Symfony, and CodeIgniter, plus plugins (Heroku, WordPress, Rollbar.js). Automatic error grouping, advanced search, and customizable notifications. | 337 | 344 | 117 | 357K | 9 | 37.0 | 52.1 | MIT | 2 weeks ago | |
| sabberworm/php-css-parser | Parse and manipulate CSS in PHP with a fast, flexible parser. Convert CSS into an object model, inspect and edit rules, selectors, and declarations, then render back to CSS. Useful for minifying, rewriting assets, or building CSS tooling. | 1,822 | 1,833 | 151 | 6M | 135 | 61.1 | 83.8 | MIT | 1 month ago | |
| scssphp/scssphp | SCSSPHP is a PHP-based SCSS compiler for compiling .scss to CSS in your apps and build pipelines. Includes PHPUnit test suite, PSR-12 coding standards, and PHPStan static analysis tooling for contributors. | 629 | 639 | 90 | 724K | 11 | 38.2 | 54.7 | MIT | 4 months ago | |
| scssphp/source-span | Utilities for tracking and formatting source spans (file, line/column ranges) while parsing or transforming SCSS. Helps map generated output back to original locations for better errors, diagnostics, and tooling when using scssphp or similar compilers. | 2 | — | 1 | — | 0 | 20.0 | — | MIT | 4 months ago | |
| setasign/fpdi | FPDI lets you import pages from existing PDFs and use them as templates in PHP PDF generators like FPDF, TCPDF, or tFPDF. Lightweight (no special extensions), PSR-4 autoloading, improved performance and memory use in v2. | 1,239 | 1,271 | 178 | 4M | 8 | 42.8 | 59.5 | MIT | 4 weeks ago | |
| shetabit/visitor | Track and log Laravel visitors: browser, platform, device, IP, languages, user agent, and request data. Use visitor() helper or $request->visitor(). Record visits for any model via Visitable trait, count views/unique visitors, and detect online users. | 564 | 566 | 78 | 22K | 9 | 35.5 | 29.2 | MIT | 2 weeks ago | |
| simple-cli/simple-cli | Dependency-free CLI framework for PHP 8 using attributes/annotations. Auto-generates --help docs, suggests mistyped commands, supports colors, interactive input with completion, and includes usage/version plus --help/--quiet/--verbose. CLI scaffolding and PHAR build support. | 10 | 11 | 2 | 12K | 0 | 24.5 | 49.2 | MIT | 3 years ago | |
| sirbrillig/phpcs-import-detection | PHPCS sniffs that warn when classes/functions/constants are used without an explicit import or fully-qualified name, and flags unused imports. Helps catch namespace issues during refactors (note: PHP 8 tokenization bug/performance caveats). | 32 | 32 | 7 | 6K | 10 | 28.4 | 40.2 | NOASSERTION | 3 years ago | |
| sirbrillig/phpcs-variable-analysis | Static analysis rules for PHP_CodeSniffer that detect undefined, unused, and improperly scoped variables in PHP code. Helps enforce cleaner code, catches subtle variable bugs early, and improves overall code quality in CI and local linting workflows. | 144 | 144 | 17 | 1M | 20 | 36.4 | 72.2 | NOASSERTION | 6 months ago | |
| slevomat/coding-standard | — | 1,480 | 1,489 | 194 | 3M | 91 | 62.3 | 81.5 | MIT | 2 weeks ago | |
| slim/http | Slim-Http provides Slim-style PSR-7 decorators and factories for responses, server requests, and URIs. Wrap any PSR-7 implementation (Nyholm, Laminas, etc.) to get convenient methods like Response::withJson() while staying PSR-7 compatible. | 150 | 153 | 45 | 53K | 6 | 28.6 | 45.0 | MIT | 1 year ago | |
| slim/psr7 | Slim PSR-7 is a strict PSR-7 HTTP message implementation used by the Slim Framework. Use it standalone in any PSR-7 compatible project to create and work with requests, responses, streams, and URIs. Requires PHP 8.0+. | 148 | 153 | 43 | 575K | 2 | 29.1 | 58.7 | MIT | 5 months ago | |
| softcreatr/jsonpath | Evaluate and query JSON with JSONPath in PHP. softcreatr/jsonpath lets you select, filter, and extract data from arrays/objects using familiar JSONPath expressions, making it easy to navigate complex nested structures for APIs, configs, and fixtures. | 165 | 165 | 32 | 764K | 0 | 29.0 | 59.5 | NOASSERTION | 2 months ago | |
| sowailem/ownable | Automate ownership across Eloquent models without traits. Register ownable models via config or API, manage owners with the Owner facade, track ownership history, and auto-inject ownership data into JSON responses via middleware. Includes built-in routes and @owns directive. | 71 | 72 | 6 | 22 | 0 | 21.1 | 1.9 | MIT | 3 months ago | |
| spatie/wordpress-ray | Send debug output from WordPress to Ray, Spatie’s desktop debugging app. Use a consistent debugging API to inspect dumps, arrays, HTML, queries, and more, measure performance, and pause execution—all from your WordPress project. | 79 | 79 | 14 | 364 | 0 | 29.8 | 12.1 | MIT | 3 weeks ago | |
| symplify/coding-standard | Ready-to-use PHP CS Fixer and PHP_CodeSniffer rules bundled as a coding standard, with Symplify tooling integration. Helps keep projects consistent, modern, and clean with configurable rule sets suited for CI and team workflows. | 379 | 379 | 26 | 82K | 3 | 24.0 | 38.4 | MIT | 10 months ago | |
| symplify/easy-coding-standard | Easy Coding Standard (ECS) makes PHP coding standards effortless on PHP 7.2–8.5. Fast parallel runs, supports PHP_CodeSniffer and PHP-CS-Fixer, uses prepared rule sets, generates ecs.php config on first run, and can check and auto-fix code with --fix. | 1,604 | 1,612 | 93 | 882K | 8 | 36.9 | 47.2 | MIT | 5 months ago | |
| thecodingmachine/phpstan-safe-rule | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 194K | 2 | 26.3 | 56.7 | — | 4 months ago | |
| thecodingmachine/safe | Safe PHP functions: a drop-in wrapper around PHP’s native functions that converts warnings and notices into exceptions, improving type safety and error handling. Includes namespaced alternatives for many standard functions with IDE/static analysis support. | 2,481 | 2,488 | 165 | 4M | 29 | 55.4 | 66.2 | MIT | 1 month ago | |
| tightenco/duster | Duster applies Tighten’s default Laravel code style by combining TLint, PHP_CodeSniffer, PHP CS Fixer, and Laravel Pint. Lint or auto-fix your whole project or only dirty files, with optional GitHub Actions and Husky hooks support. | 594 | 593 | 24 | 132K | 10 | 36.4 | 42.9 | MIT | 2 weeks ago | |
| torann/geoip | Laravel GeoIP package to detect a visitor’s location and currency from an IP address. Supports multiple GeoIP services/drivers with configurable caching and provides a simple API for resolving country, region, city, coordinates, timezone, and more. | 2,212 | 2,250 | 393 | 310K | 59 | 69.1 | 65.8 | BSD-2-Clause | 13 hours ago | |
| true/punycode | Pure PHP Punycode encoder/decoder for Internationalized Domain Names (IDNA). Convert Unicode domains to ASCII xn-- form and back (e.g., renangonçalves.com ↔ xn--renangonalves-pgb.com) without requiring the intl/libidn extensions. | 260 | 264 | 46 | 324K | 7 | 13.9 | 54.3 | MIT | 9 years ago | |
| typesense/typesense-php | Official PHP client for the Typesense search API. Built on HTTPlug for flexible HTTP adapters, with examples for indexing, searching, and filtering (including safe filter value escaping). Install via Composer and use with compatible Typesense Server versions. | 265 | 263 | 53 | 431K | 2 | 32.4 | 52.6 | Apache-2.0 | 1 month ago | |
| ulrichsg/getopt-php | Lightweight PHP library for parsing command-line options and arguments (getopt). Define short/long flags, required/optional values, and get a clean result for building CLI tools. No framework dependencies, simple API, supports help/usage output. | 342 | 351 | 63 | 83K | 2 | 33.2 | 39.6 | MIT | 1 year ago | |
| unisharp/laravel-filemanager | UniSharp Laravel Filemanager adds a responsive web UI for browsing, uploading, organizing and selecting files/images in Laravel apps. Integrates with popular editors, supports configuration, customization, and events, with detailed docs and upgrade guides. | 2,153 | 2,183 | 737 | 48K | 218 | 75.1 | 51.8 | MIT | 2 weeks ago | |
| unleashedtech/php-coding-standard | Opinionated PHP coding standard by Unleashed Tech, built on PHP-CS-Fixer rules and presets to keep code style consistent across projects. Easy to install via Composer and integrate into CI for automated linting and formatting. | 0 | 1 | 0 | 754 | 0 | 0.0 | 39.8 | NOASSERTION | — | |
| usernotnull/tall-toasts | Beautiful, customizable toast notifications for Laravel + Livewire (TALL stack). Trigger toasts globally from controllers, Blade, Livewire components, Alpine, or plain JS. Lightweight UI with Tailwind styling, themes, positions, and stacking behavior. | 570 | 570 | 32 | 8K | 3 | 31.2 | 26.9 | MIT | 1 year ago | |
| vimeo/psalm | Psalm is a PHP static analysis tool that finds type issues, bugs, and dead code early. Add it to your project to improve code quality and confidence in refactors, with rich docs, configs, and a live demo at psalm.dev. | 5,825 | 5,839 | 699 | 1M | 1,886 | 90.5 | 66.7 | MIT | 3 weeks ago | |
| vonage/client-core | Core PHP client library for Vonage APIs (PHP 8.1+). Create a Vonage\Client with your API key/secret, make requests, and optionally customize base API URLs for testing. Install via Composer (vonage/client) or use core with your own HTTP client. | 928 | 929 | 179 | 338K | 2 | 39.5 | 42.1 | Apache-2.0 | 1 week ago | |
| vonage/jwt | PHP 8.1+ library to generate JWTs for authenticating with Vonage APIs. Install via Composer, create a TokenGenerator with your Vonage Application ID and private key, then call generate() to get a bearer token for requests. | 42 | 44 | 5 | 331K | 0 | 22.5 | 63.2 | Apache-2.0 | 3 weeks ago | |
| vonage/nexmo-bridge | Composer autoloader bridge that aliases legacy Nexmo (\Nexmo) classes, traits, and interfaces to their Vonage namespace equivalents. Use it to migrate existing code to vonage/client or vonage/client-core without refactoring everything at once. | 53 | 53 | 3 | 353K | 0 | 21.3 | 62.0 | BSD-3-Clause | 3 years ago | |
| webimpress/coding-standard | Opinionated PHP_CodeSniffer rules from Webimpress for consistent PHP style. Extends common standards, adds project conventions, and ships with ready-to-use configs for enforcing formatting and best practices across your codebase. | 14 | 14 | 7 | 62K | 5 | 29.2 | 61.9 | BSD-2-Clause | 1 year ago | |
| weirdan/codeception-psalm-module | Codeception module that integrates Psalm static analysis into your test workflow. Run Psalm checks as part of Codeception suites to catch type issues and improve PHP code quality during CI and local testing. | 5 | 5 | 7 | 650 | 3 | 27.9 | 35.4 | MIT | 3 years ago | |
| wikimedia/composer-merge-plugin | Composer plugin that merges multiple composer.json files at runtime. Define extra include patterns (e.g., composer.local.json, extensions/*/composer.json) to combine dependencies and settings into the main config for installs and autoload generation. | 1,004 | 1,016 | 171 | 657K | 52 | 50.4 | 77.2 | MIT | 5 years ago | |
| wp-coding-standards/wpcs | WordPress Coding Standards for PHP_CodeSniffer (WPCS) provides PHPCS rulesets and sniffs to enforce WordPress PHP style, best practices, security, and documentation guidelines. Install via Composer and run PHPCS to lint WordPress themes, plugins, and projects. | 2,746 | 2,781 | 518 | 1M | 222 | 77.7 | 75.9 | MIT | 4 months ago | |
| wyrihaximus/coding-standard | PHP coding standard package for consistent formatting and style in PHP projects. Provides ready-to-use rulesets and configuration to streamline linting, code style checks, and enforcement across teams and CI pipelines. | 0 | 0 | 0 | 30K | 1 | 29.1 | 65.0 | MIT | 2 months ago | |
| wyrihaximus/test-utilities | A small set of PHP test utilities: a base PHPUnit TestCase with random namespaces and temp directories, plus ready-to-use defaults for PHPStan and a RectorConfig preconfigured for etc/src/tests and docblock-to-attribute conversions. | 7 | 7 | 1 | 21K | 6 | 31.8 | 60.7 | MIT | 6 days ago | |
| yiisoft/yii2-coding-standards | Yii 2 coding standards package providing PHP_CodeSniffer ruleset, sniffs, and tooling configs based on PSR-12 with Yii2-specific tweaks. Use it to enforce Yii2 core style in framework development or in existing Yii2 applications. | 182 | 187 | 49 | 25K | 1 | 24.9 | 34.7 | — | 1 year ago | |
| yoast/yoastcs | Yoast Coding Standards (YoastCS) provides Composer-installable rulesets for PHP_CodeSniffer plus PHP Parallel Lint, bundling Yoast sniffs and selected external standards (including WordPress). Use it to enforce consistent code style and quality in Yoast projects. | 22 | 22 | 1 | 18K | 16 | 33.2 | 53.1 | MIT | 4 weeks ago | |
| zendframework/zend-coding-standard | Zend Framework Coding Standard ruleset for PHP_CodeSniffer to enforce ZF repository style, with composer scripts for checking (phpcs) and auto-fixing (phpcbf). Note: repository abandoned; moved to laminas/laminas-coding-standard. | 35 | 42 | 7 | 2K | 7 | 11.9 | 31.0 | BSD-3-Clause | 6 years ago |
How can I help you explore Laravel packages today?