friendsofphp/php-cs-fixer
PHP Coding Standards Fixer automatically formats and modernizes PHP code to match standards and team rules. Includes built-in rule sets (PER, Symfony, PhpCsFixer), supports PHP 7.4–8.5, and is installed via Composer for easy CI integration.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| algolia/algoliasearch-client-php | Official Algolia Search API client for PHP 8+. A thin, low-level HTTP client to index and search data, manage indices, and call Algolia’s APIs directly. Install via Composer and start saving objects, searching, and handling tasks in minutes. | 693 | 707 | 114 | 664K | 15 | 41.3 | 55.8 | MIT | 1 week ago | |
| amphp/php-cs-fixer-config | Shared PHP-CS-Fixer configuration used across amphp projects. Install as a dev dependency, create a .php_cs.dist that returns Amp\CodeStyle\Config, configure the Finder paths and cache file, and run php-cs-fixer locally or in CI (e.g., Travis) for consistent styling. | 10 | 10 | 4 | 5K | 0 | 21.4 | 42.7 | — | 7 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 | |
| armin/editorconfig-cli | PHP CLI tool (ec) to validate and auto-fix project files against your .editorconfig rules. Enforce consistent formatting in local workflows and CI: EOL, final newline, trailing whitespace, indentation (tabs/spaces, size), plus checks for charset and max line length. | 22 | 21 | 5 | 40K | 4 | 29.3 | 54.0 | MIT | 4 months ago | |
| barryvdh/laravel-ide-helper | Generates up-to-date PHPDoc helper files for Laravel to improve IDE autocompletion for facades, models, fluent methods, factories, and container bindings. Provides Artisan commands to generate _ide_helper.php and model annotations for PhpStorm and others. | 14,886 | 15,137 | 1,189 | 3M | 159 | 89.3 | 65.9 | MIT | 3 weeks ago | |
| beberlei/assert | Lightweight assertion library for validating method arguments and input data in PHP. Provides a fluent, readable API with many built-in rules (string, numeric, email, UUID, collection, etc.), clear exceptions, and easy extensibility for custom constraints. | 2,428 | 2,459 | 186 | 2M | 29 | 57.1 | 65.9 | NOASSERTION | 1 year ago | |
| behat/gherkin | behat/gherkin is a PHP library for parsing the Gherkin language used in BDD. Read and tokenize feature files, build an AST, and integrate with Behat or other test runners to execute human-readable scenarios in your test suite. | 1,061 | 1,068 | 94 | 3M | 9 | 37.0 | 61.5 | MIT | 4 months ago | |
| beste/in-memory-cache | PSR-6 compliant in-memory cache for PHP—ideal as a lightweight default cache and for fast, predictable tests. Supports standard CacheItemPoolInterface behavior and optional PSR-20 clocks (e.g., frozen clocks) for time-based expiry testing. | 25 | 25 | 0 | 999K | 0 | 22.0 | 65.0 | MIT | 6 months ago | |
| beste/php-cs-fixer-config | Shared PHP-CS-Fixer configuration package providing a consistent, reusable code style setup across projects. Centralizes fixer rules and presets, making it easy to enforce formatting standards in CI and keep multiple codebases aligned with minimal per-project config. | 0 | 0 | 0 | 28 | 0 | 22.4 | 23.8 | MIT | 2 years ago | |
| bottelet/translation-checker | Laravel dev tool to scan your code for translation strings, detect missing keys in lang files (JSON/PHP), and sync them across locales. Optionally use AI to auto-translate missing entries; otherwise adds null placeholders to keep files consistent. | 130 | 130 | 8 | 4K | 2 | 25.8 | 25.3 | MIT | 3 months ago | |
| brainmaestro/composer-git-hooks | Manage Git hooks via Composer: install, update, and run hook scripts automatically on composer install/update. Keep hooks versioned with your project, support common hooks, and integrate checks like tests, linting, and formatting across your team. | 1,085 | — | 89 | — | 12 | 31.5 | 4.5 | MIT | 1 year ago | |
| cartalyst/php-cs-fixer-config | Reusable PHP-CS-Fixer configuration from Cartalyst. Provides a shared rule set and presets to standardize coding style across projects, making formatting consistent and easy to apply in CI and local development. | 0 | 0 | 0 | 64 | 0 | 0.0 | 25.0 | BSD-3-Clause | — | |
| christian-riesen/base32 | RFC 4648-compliant Base32 encoder/decoder for PHP (7.2+). Simple static API to encode/decode strings, passes official test vectors, and includes unit tests. Also supports the extended Base32Hex alphabet via Base32Hex. | 133 | 134 | 30 | 589K | 3 | 25.8 | 60.5 | MIT | 5 years ago | |
| cmgmyr/phploc | Laravel-friendly wrapper around phpLOC for measuring PHP project size and structure. Generate lines-of-code, classes, methods, complexity-style stats from the command line or within builds to quickly gauge codebase scope and trends. | 26 | 26 | 5 | 284K | 0 | 22.4 | 65.0 | BSD-3-Clause | 1 year ago | |
| code16/sharp | Sharp is a Laravel 11+ CMS framework/package to build admin panels fast with a clean PHP API. Manage structured data (CRUD), validation, search/sort/filter, authorizations and custom commands—no front-end code required. Data-agnostic, PHP 8.3+. | 789 | 789 | 78 | 1K | 5 | 38.2 | 9.1 | MIT | 1 week ago | |
| codeclimate/php-test-reporter | PHP Test Reporter submits PHPUnit/PHPSpec code coverage to Code Climate. Generates coverage in CI and posts results to your Code Climate repo, helping track test quality over time. Simple CLI setup for common PHP workflows. | 65 | 65 | 32 | 6K | 3 | 24.1 | 34.1 | NOASSERTION | 9 years ago | |
| cuyz/valinor | Valinor maps and validates raw input (JSON/arrays) into fully typed PHP objects. Supports advanced types (PHPStan/Psalm), provides precise human-readable errors, and can normalize data back to formats like JSON while preserving structure. | 1,500 | 1,496 | 88 | 1M | 25 | 47.5 | 58.8 | MIT | 2 weeks ago | |
| cviebrock/eloquent-sluggable | Generate SEO-friendly, unique slugs for Laravel Eloquent models automatically. Configure sources, separators, max length, reserved words, and update behavior; supports soft deletes and route model binding. Includes a SlugService and extensible hooks. | 3,988 | 4,056 | 450 | 233K | 0 | 33.4 | 24.4 | MIT | — | |
| dama/doctrine-test-bundle | Symfony test bundle that speeds up Doctrine tests by reusing static DBAL connections and wrapping each test in a transaction that’s rolled back for isolation. Also provides a PSR-6 static array cache for Doctrine metadata/query caching to reduce boot time and memory. | 1,174 | 1,171 | 64 | 1M | 6 | 38.4 | 49.9 | MIT | 2 months ago | |
| dantleech/invoke | Emulate named arguments in PHP: instantiate classes or call methods by mapping associative array keys to parameter names. Validates required/missing/extra keys and type hints, throwing clear exceptions. Useful for deserialization and config loading. | 5 | 5 | 2 | 25K | 0 | 0.2 | 50.1 | — | — | |
| 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 | |
| deptrac/deptrac | Deptrac helps you define and enforce architectural boundaries in PHP projects. Configure layers and dependency rules, then analyze your codebase to detect forbidden dependencies. Useful for keeping clean architecture, preventing drift, and improving maintainability in large apps. | 2,914 | 2,909 | 152 | 918K | 27 | 56.3 | 52.7 | MIT | 2 months ago | |
| discord-php/http | Async HTTP client for the Discord REST API in PHP (7.4+). Uses an event loop with pluggable drivers (e.g., React), PSR-3 logging, and built-in endpoint constants with parameter binding to help route requests into correct rate-limit buckets. | 25 | 25 | 8 | 13K | 0 | 30.4 | 43.8 | MIT | 1 week ago | |
| discord-php-helpers/voice | Helpers for using DiscordPHP voice: connect to voice channels, handle voice gateway/UDP, and stream audio from PHP 8+ CLI apps. Built on ReactPHP/event loops with promises; intended for bot developers needing voice support. | 1 | 1 | 2 | 4K | 1 | 22.1 | 54.4 | MIT | 2 months ago | |
| ekino/phpstan-banned-code | PHPStan extension that flags banned code patterns in your project (e.g., var_dump, dd, exit/die, eval, echo/print, shell exec/backticks). Configurable via PHPStan parameters, with optional checks like preventing use imports from Tests in non-test code. | 296 | 292 | 24 | 206K | 4 | 28.0 | 48.4 | MIT | 4 weeks ago | |
| eliashaeussler/php-cs-fixer-config | Reusable PHP-CS-Fixer config package by Elias Häussler. Provides a ready-to-use ruleset and sensible defaults to keep PHP code style consistent across projects, with easy installation and quick integration into existing fixer setups. | 2 | 2 | 0 | 17K | 1 | 24.9 | 61.1 | GPL-3.0 | 3 months ago | |
| ely/php-code-style | Opinionated PHP-CS-Fixer rule set from Ely.by for PHP 7.4+ projects. Install alongside friendsofphp/php-cs-fixer, add a .php-cs-fixer.php using Ely\CS\Config, optionally override rules, then run php-cs-fixer to lint and fix code style. | 4 | 4 | 3 | 501 | 1 | 22.6 | 32.6 | Apache-2.0 | 2 years ago | |
| embed/embed | Extract rich metadata and embed code from any URL using oEmbed, Open Graph, Twitter Cards, and HTML scraping. Works with services like YouTube, Vimeo, Instagram, GitHub, and more. PHP 7.4+, cURL, PSR-17 compatible. | 2,145 | 2,172 | 319 | 262K | 70 | 66.5 | 65.4 | MIT | 10 months ago | |
| ergebnis/php-cs-fixer-config | Factory package for friendsofphp/php-cs-fixer configs. Provides ready-made rule sets per PHP version (5.3–8.5) and helpers to build a consistent, reusable fixer configuration for your projects. | 69 | 69 | 17 | 47K | 1 | 30.7 | 46.0 | MIT | 1 month ago | |
| erickskrauch/php-cs-fixer-custom-fixers | Custom PHP-CS-Fixer fixers by Erick Skrauch. Adds opinionated formatting rules like aligning multiline parameters, inserting blank lines around class bodies and before returns, spacing after control statements, fixing multiline if braces, ordering overrides, and Yii2 ::className() replacement. | 30 | 30 | 2 | 108K | 2 | 23.6 | 57.5 | MIT | 4 months ago | |
| esi/phpunit-coverage-check | Reads PHPUnit clover/openclover XML coverage reports and computes overall coverage percentage. Fails CI with exit code 1 when coverage drops below a configurable threshold; exits successfully when the threshold is met. Useful for enforcing minimum test coverage. | 6 | 6 | 1 | 6K | 2 | 22.5 | 48.7 | MIT | 2 months ago | |
| eventsauce/clock | Simple clock abstraction for PHP. Use SystemClock in production and TestClock in tests to control time deterministically. Get now() as DateTimeImmutable, access timeZone(), move time forward, tick to system time, or fixate to a specific moment. | 3 | 3 | 2 | 38K | 0 | 0.1 | 55.0 | — | — | |
| eventsauce/eventsauce | EventSauce is a PHP event-sourcing toolkit for building systems around domain events. It helps you record and replay events, rebuild state, and organize aggregates and projections in a clean, testable way—useful for CQRS/event-driven architectures. | 6 | — | 1 | — | 1 | 20.2 | — | GPL-2.0 | 10 years ago | |
| eventsauce/object-hydrator | Magic-less object hydration and serialization for PHP. Map arrays/decoded JSON to DTOs, commands, queries, and events by inspecting constructors and public getters—no private-property reflection. Supports custom keys, casting, and optional code generation for speed. | 332 | 332 | 30 | 71K | 9 | 28.5 | 42.8 | MIT | 3 years ago | |
| facade/flare-client-php | PHP client for Flare error reporting. Captures exceptions, stack traces and context from your app, enriches reports with metadata, and sends them to the Flare service for alerting, tracking and debugging in Laravel and other PHP projects. | 518 | — | 20 | — | 0 | 23.4 | — | MIT | 3 years ago | |
| facade/ignition | facade/ignition provides a beautiful error page and debugging assistant for Laravel. It shows stack traces, context, and code snippets, supports Flare error reporting, and helps you quickly diagnose exceptions in local and production environments. | 2,078 | — | 179 | — | 0 | 36.3 | 1.4 | MIT | 3 years ago | |
| facade/ignition-contracts | Interfaces and contracts for integrating Solutions with Ignition and Flare. Use these to define solution providers, solution metadata, and related abstractions so errors can display actionable fixes inside Ignition/Flare. | 635 | 636 | 7 | 2M | 0 | 24.5 | 55.0 | MIT | 5 years ago | |
| facile-it/facile-coding-standard | PHP coding standard based on PHP-CS-Fixer by Facile.it. Installs via Composer with an interactive setup that generates a .php-cs-fixer.dist.php, auto-detects files from composer autoload (psr-0/psr-4/classmap), and adds cs-check/cs-fix scripts. | 10 | 10 | 9 | 17K | 2 | 26.2 | 52.3 | — | 5 months ago | |
| fidry/php-cs-fixer-config | Personal base PHP-CS-Fixer configuration by Théo Fidry. Install as a dev dependency, then use FidryConfig in php-cs-fixer.dist.php with your Finder, a header comment, and minimum supported PHP version. Extend or override rules as needed. | 6 | 6 | 1 | 269 | 0 | 22.8 | 25.9 | MIT | 3 months ago | |
| friends-of-phpspec/phpspec-code-coverage | PhpSpec extension that generates code coverage reports (console and HTML) for your specs. Works with Xdebug, phpdbg or pcov and supports multiple PhpSpec/PHP versions, helping you see which parts of your codebase are exercised by tests. | 20 | 21 | 13 | 43K | 4 | 25.5 | 55.2 | NOASSERTION | 6 months ago | |
| functional-php/fantasy-land | Fantasy Land–style algebraic structures for PHP to enable interoperable functional patterns. Includes interfaces for Setoid, Semigroup/Monoid, Functor, Applicative, Monad, Foldable/Traversable, plus ready-made law/property tests to verify implementations. | 38 | 39 | 12 | 194K | 2 | 21.5 | 61.0 | BSD-3-Clause | 8 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 | |
| giggsey/libphonenumber-for-php-lite | Lite PHP port of Google’s libphonenumber for parsing, formatting, storing, and validating international phone numbers. Includes core PhoneNumberUtils only (no geolocation/carrier/short numbers). Requires PHP 8.1+ and mbstring; install via Composer. | 84 | 86 | 8 | 1M | 0 | 30.0 | 65.0 | Apache-2.0 | 1 week ago | |
| giorgiosironi/eris | Property-based testing for PHP and PHPUnit, inspired by Haskell QuickCheck. Define properties and have Eris generate many randomized inputs to try to break them, with shrinking to minimal counterexamples. Supports PHP 8.1–8.4 and PHPUnit 10–13. | 437 | 439 | 35 | 40K | 7 | 28.0 | 34.5 | MIT | 1 week ago | |
| glhd/bits | Generate unique 64‑bit IDs for distributed systems in PHP. Create Twitter Snowflake, Sonyflake, or custom bit-sequence identifiers with configurable worker/datacenter IDs and epoch for compact, time-ordered, collision-resistant IDs across multiple servers. | 92 | 92 | 18 | 28K | 1 | 25.6 | 41.1 | MIT | 2 weeks ago | |
| google/cloud-tools | Dev utilities for Google Cloud in PHP. Includes flex_exec to run commands inside the same Docker image as an App Engine Flexible deployment, with optional Cloud SQL connectivity via Cloud Build. Also provides Google\Cloud\TestUtils helpers and fixtures. | 24 | 24 | 20 | 15K | 5 | 31.0 | 51.8 | Apache-2.0 | 8 months ago | |
| halaxa/json-machine | Efficiently parse huge JSON files and streams in PHP with low memory usage. json-machine provides an iterator-style API for incremental decoding of arrays/objects, supports JSON Lines and custom pointers/paths, and works great for imports and ETL tasks. | 1,301 | 1,310 | 74 | 906K | 5 | 39.0 | 47.6 | Apache-2.0 | 4 months ago | |
| ilario-pierbattista/reverse-regex | Generate example strings from regular expressions in PHP—useful for test data for forms, databases, and regex validation. Includes lexer/parser and random generators, supports literals, groups, classes, ranges, and quantifiers (with some Unicode/PCRE limits). | 2 | 3 | 2 | 1K | 0 | 21.6 | 41.7 | MIT | 1 week ago | |
| infection/abstract-testframework-adapter | Interfaces and base classes for building Infection test framework adapters. Provides a common abstraction layer to integrate different PHP test runners with Infection’s mutation testing, making adapters consistent, reusable, and easier to implement. | 25 | 25 | 3 | 960K | 0 | 22.9 | 65.0 | BSD-3-Clause | 4 years ago | |
| infection/extension-installer | Composer plugin bundled with Infection that automatically discovers and registers Infection extensions on install/update. Install an infection-extension package and it’s registered without manual config. Includes guidance for building extensions via composer.json metadata. | 26 | 26 | 4 | 990K | 1 | 21.4 | 65.0 | BSD-3-Clause | 4 years ago | |
| infection/include-interceptor | PHP stream wrapper that intercepts the file:// protocol to override the content of any included or autoloaded file at runtime. Register a mapping from original file to replacement, enable the interceptor, and includes/file_get_contents load the replacement instead. | 31 | 31 | 4 | 960K | 3 | 22.6 | 65.9 | BSD-3-Clause | 4 years ago | |
| internachi/modular | A lightweight module system for Laravel using Composer path repositories and Laravel package discovery. Create modules in an app-modules/ directory that behave like first-class packages, following Laravel conventions with minimal extra tooling. | 1,149 | 1,142 | 104 | 50K | 23 | 46.1 | 40.7 | MIT | 2 weeks ago | |
| internachi/modularize | Adds internachi/modular support to Laravel package commands via traits. Provides a --module option for console and generator commands, returning module config and generating files into the module directory with correct paths and namespaces. | 2 | 2 | 2 | 24K | 0 | 21.0 | 63.3 | MIT | 2 weeks ago | |
| ircmaxell/php-yacc | PHP port of kmyacc: a YACC/LALR(1) parser generator that takes a YACC grammar (plus a parser template) and generates a PHP parser. Useful for building fast parsers for structured/unstructured languages; generation is resource-heavy, parsing is fast. | 155 | 156 | 16 | 3K | 2 | 23.9 | 21.8 | NOASSERTION | 5 years ago | |
| jetbrains/phpstorm-stubs | PHPStorm stubs: syntactically correct PHP files with signatures, constants, and full PHPDoc for PHP core and most extensions. Used by IDEs for completion, inspections, type inference, and documentation popups. Community-maintained for non-standard extensions. | 1,377 | 1,373 | 824 | 2M | 0 | 48.1 | 50.9 | Apache-2.0 | 2 months 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-mb-string | High-performance multibyte string class for PHP. Stores text internally as UTF-32 for fast, safe random read/write, replace, insert, and substring operations on long UTF-8 strings—avoiding the repeated decoding overhead of frequent mb_* calls. | 14 | 14 | 0 | 200K | 1 | 0.3 | 55.2 | MIT | — | |
| 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 | |
| justinrainbow/json-schema | Validate JSON data against JSON Schema in PHP. Supports draft-3, draft-4, draft-6, and draft-7 with $ref resolution and detailed validation errors. Install via Composer and validate decoded JSON objects against local or remote schemas. | 3,627 | 3,676 | 368 | 5M | 4 | 60.2 | 52.6 | MIT | 1 week ago | |
| kelunik/link-header-rfc5988 | Lightweight PHP library to parse and generate RFC 5988 HTTP Link headers. Convert Link header strings into structured relations/URIs and build compliant headers for responses. Useful for API pagination, HATEOAS links, and web discovery. | 5 | 5 | 2 | 4K | 0 | 20.4 | 45.4 | MIT | 8 years ago | |
| keradus/cli-executor | Execute CLI commands from PHP with a simple, lightweight wrapper. Run processes, capture output, handle exit codes, and manage arguments for reliable command execution in scripts and Laravel apps. | 4 | 4 | 3 | 34K | 0 | 22.8 | 62.2 | NOASSERTION | 5 months ago | |
| kirschbaum-development/eloquent-power-joins | Add “Laravel way” joins to Eloquent: join via relationship definitions, reuse model scopes in joined contexts, query relationship existence with joins, and sort by related columns/aggregations—cleaner, more readable join queries with less boilerplate. | 1,563 | 1,555 | 100 | 2M | 9 | 43.1 | 54.0 | MIT | 1 week ago | |
| 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 | |
| knplabs/knp-snappy | Snappy is a PHP wrapper for wkhtmltopdf/wkhtmltoimage to generate PDFs, thumbnails, and snapshots from URLs or HTML. Supports Linux/macOS/Windows, configurable binaries and options, and integrates with Symfony and Laravel via community bundles. | 4,469 | 4,545 | 437 | 1M | 6 | 67.2 | 46.8 | MIT | 1 month 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 | |
| kreait/firebase-tokens | Create Firebase custom tokens and verify ID tokens or session cookies in PHP. Lightweight library powering the Firebase Admin SDK, with tenant-aware verification and optional caching of Google Secure Token Store keys. | 240 | 241 | 34 | 1M | 0 | 31.3 | 61.3 | MIT | 6 months ago | |
| kubawerlos/php-cs-fixer-custom-fixers | Adds a curated set of custom fixers for PHP-CS-Fixer to enforce consistent, opinionated code style beyond the built-in rules. Plug in the fixers, combine with your config, and keep large PHP codebases clean and uniform. | 238 | 239 | 26 | 344K | 4 | 32.0 | 52.2 | MIT | 1 month ago | |
| laracraft-tech/laravel-schema-rules | Generate starter Laravel validation rules from your database schema. Create rules for entire tables or selected columns, optionally generate Form Request classes, and configure columns to always skip. Great for fast scaffolding before manual refinement. | 362 | 362 | 23 | 2K | 0 | 26.8 | 14.0 | MIT | 1 week ago | |
| laracraft-tech/laravel-useful-traits | Laravel package with handy daily-use additions: traits for PHP 8.1+ enums (get names/values/array) and Eloquent query scopes (e.g., select all columns except specific ones, date-based scopes), plus an Artisan db:truncate command. | 58 | 58 | 2 | 69 | 1 | 25.0 | 5.5 | MIT | 1 week ago | |
| laradumps/laradumps | LaraDumps is a modern debugging tool for Laravel/PHP that sends dumps to a dedicated desktop app, keeping your app flow uninterrupted. Inspect models/collections, monitor SQL/logs/exceptions/mail/jobs, debug Livewire, validate JSON, and more. | 1,260 | 1,258 | 54 | 106K | 8 | 39.7 | 34.0 | MIT | 2 weeks ago | |
| laravel/cashier-mollie | Laravel Cashier integration for Mollie payments and subscriptions. This repository has moved to mollie/laravel-cashier-mollie (v1 and v2 continued) and will be closed Feb 1, 2022. Docs: cashiermollie.com. | 370 | 385 | 62 | 95 | 25 | 20.1 | 12.4 | MIT | 5 years ago | |
| laravel/pint | Laravel Pint is an opinionated PHP code style fixer built on PHP-CS-Fixer. It helps keep Laravel and PHP projects clean and consistent with minimal configuration, making it easy to enforce a unified coding style across your codebase. | 3,115 | 3,117 | 185 | 6M | 17 | 56.3 | 62.2 | MIT | 4 weeks ago | |
| 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/csv | — | 3,473 | 3,625 | 346 | 5M | 2 | 57.1 | 50.7 | MIT | 3 months ago | |
| league/event | PSR-14 compatible event dispatcher for PHP. Provides an emitter, listeners and subscribers, plus prioritized, stoppable events. Lightweight, extensible, and framework-agnostic—ideal for decoupling application components and building clean event-driven architectures. | 1,564 | 1,592 | 49 | 3M | 1 | 9.5 | 46.0 | MIT | — | |
| league/flysystem | League/Flysystem is a filesystem abstraction for PHP that provides a consistent API for local disks and cloud storage like S3. Swap adapters without changing your app, with support for reading/writing files, directories, visibility, and streams. | 13,562 | 13,944 | 848 | 12M | 84 | 84.6 | 82.7 | MIT | 2 years ago | |
| league/fractal | League Fractal is a transformation/presentation layer for API output (JSON/YAML). Define consistent serializers and transformers, type-cast fields, include related resources, and handle pagination—keeping response schemas stable as your data changes. | 3,545 | 3,759 | 346 | 950K | 49 | 69.9 | 62.7 | MIT | 3 months ago | |
| league/glide | Glide is an on-demand PHP image manipulation library with an HTTP API. Resize, crop, and apply effects; automatically cache results with long-lived headers; integrate as an image server or in-app. Works with GD, Imagick, libvips, and Flysystem. | 2,632 | 2,822 | 205 | 661K | 41 | 61.3 | 54.7 | MIT | 3 days ago | |
| league/mime-type-detection | Fast, reliable MIME type detection for PHP. Detects from file extensions and binary signatures using shared databases, with a simple API and customizable mappings. Ideal for uploads, validation, and content-type handling in Laravel and other PHP apps. | 1,337 | 1,349 | 28 | 11M | 2 | 8.4 | 55.9 | MIT | — | |
| league/oauth1-client | RFC 5849-compliant OAuth 1.0 client library for PHP (7.1+). Authenticate with OAuth 1 servers and make signed requests. Built-in providers include Twitter, Trello, Tumblr, Bitbucket, Magento, Uservoice, and Xing; easy to add more. | 996 | 1,005 | 76 | 3M | 7 | 31.5 | 59.9 | MIT | 4 years ago | |
| limedeck/phpunit-detailed-printer | A custom PHPUnit printer that replaces the default output with more informative, readable test names plus per-test execution time, so you can spot failures and slow tests quickly while the suite runs. Compatible across PHPUnit versions. | 39 | 40 | 12 | 8K | 1 | 25.1 | 37.9 | MIT | 5 years 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 | — | |
| lolli42/finediff | Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. | 13 | 13 | 3 | 256K | 0 | 22.6 | 65.0 | MIT | 5 months ago | |
| maennchen/zipstream-php | Stream ZIP files on the fly in PHP without temporary files. zipstream-php lets you send large, dynamically generated archives directly to the browser with low memory usage, supporting modern ZIP features and efficient download/response streaming. | 1,881 | 1,906 | 111 | 8M | 2 | 42.2 | 59.2 | MIT | 4 months ago | |
| marcocesarato/php-conventional-changelog | Generate changelogs and release notes automatically from your Git history using Conventional Commits and SemVer. A PHP CLI tool that reads commit messages/metadata, supports configurable output, and produces markdown changelog files for your project. | 251 | 251 | 37 | 56K | 14 | 36.3 | 45.8 | GPL-3.0 | 2 weeks ago | |
| matthiasmullie/scrapbook | Scrapbook is a PHP caching library that wraps PSR-6/PSR-16 cache backends with adapters, multi-cache fallbacks, buffering and stampede protection. Use it to add fast, resilient caching with minimal code changes across files, memory or Redis stores. | 321 | 328 | 27 | 78K | 0 | 2.4 | 32.9 | MIT | — | |
| 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 | |
| mbsoft31/graph-core | Lightweight, dependency-free graph library for PHP 8.2+. Build directed/undirected graphs with node and edge attributes, fast adjacency lookups, subgraph views, and export to Cytoscape.js JSON, GraphML, and GEXF (XML exports require ext-dom). | 0 | 0 | 0 | 28 | 0 | 20.3 | 23.8 | MIT | 6 months ago | |
| michelf/php-markdown | michelf/php-markdown is a fast, standards-based Markdown parser for PHP (Markdown and Markdown Extra). Convert Markdown text to HTML with optional extended syntax, designed for easy embedding in apps and frameworks, with stable output and minimal setup. | 3,459 | 3,544 | 526 | 624K | 87 | 52.1 | 54.7 | NOASSERTION | — | |
| mll-lab/php-cs-fixer-config | Shared php-cs-fixer configuration package. Install as a dev dependency and use the config($finder) helper in .php-cs-fixer.php. Optionally enable risky rules via risky($finder), override specific rules, or further customize the returned Config instance. | 0 | 0 | 0 | 11K | 0 | 29.0 | 65.0 | MIT | 2 months ago | |
| mnapoli/silly | Silly is a micro-framework for building CLI apps in PHP on top of Symfony Console. Define commands with closures, get automatic DI support, and keep your command-line tools lightweight and expressive with minimal boilerplate. | 931 | — | 50 | — | 4 | 27.2 | 0.9 | MIT | 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 | |
| mustache/mustache | Logic-less Mustache templates for PHP. Render clean, secure views using simple tags, sections, partials, and lambdas with a familiar Mustache syntax. Great for separating presentation from application logic in web apps, emails, and reusable UI fragments. | 3,074 | — | 275 | — | 34 | 54.3 | 16.6 | MIT | 10 years 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 | |
| nikolaposa/version | SemVer value object for PHP. Create versions from components or strings, access major/minor/patch plus pre-release/build metadata, compare versions (lt/gt/eq), and match against constraints for validation and dependency-style checks. | 140 | 141 | 12 | 198K | 0 | 28.1 | 51.2 | MIT | 1 year ago | |
| 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 | |
| nwidart/laravel-modules | nwidart/laravel-modules helps you structure large Laravel apps with self-contained modules (like mini-packages) including controllers, models, views, routes, migrations, and more. Includes Artisan generators, module discovery, and strong Laravel version support (up to 13). | 6,103 | 6,145 | 1,021 | 416K | 9 | 72.4 | 34.4 | MIT | 3 weeks ago | |
| oddvalue/laravel-drafts | Drop-in drafts and revisions for Laravel Eloquent models. Create, save, publish, and preview revisions with a simple API, middleware support, and minimal setup—ideal for CMS-style editing workflows without building a custom versioning system. | 431 | 419 | 21 | 10K | 0 | 29.8 | 22.6 | MIT | 2 months ago | |
| openspout/openspout | OpenSpout is a fast, low-memory PHP library for reading and writing spreadsheet files (CSV, XLSX, ODS). Built for very large files, it streams data efficiently (often under 3MB RAM) and is a community-driven fork of box/spout. | 1,121 | 1,128 | 133 | 3M | 55 | 55.7 | 79.7 | MIT | 3 weeks ago | |
| oscarotero/html-parser | Fast, lightweight HTML parser for PHP by Oscar Otero. Parse HTML into a DOM-like structure, query and traverse nodes, extract text/attributes, and handle real-world, imperfect markup. Useful for scraping, content cleanup, and transformations. | 16 | 18 | 1 | 197K | 0 | 22.8 | 65.0 | MIT | 2 years ago | |
| oscarotero/php-cs-fixer-config | Opinionated PHP-CS-Fixer configuration by Oscar Otero. Drop-in ruleset to standardize code style across projects, keep formatting consistent, and reduce bikeshedding. Ideal for teams wanting sensible defaults with minimal setup. | 2 | 2 | 1 | 417 | 0 | 21.5 | 34.9 | — | 1 year ago | |
| 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 | |
| pedrotroller/php-cs-custom-fixer | Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. | 81 | 83 | 10 | 17K | 4 | 32.2 | 45.2 | — | 6 months ago | |
| 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 | |
| phlak/coding-standards | Predefined PHP-CS-Fixer coding standards by PHLAK. Install as a dev dependency, initialize via composer exec cs init or create a config using ConfigFactory with a Finder, then run php-cs-fixer. Supports adding or overriding rules via ConfigFactory::make(). | 2 | 2 | 0 | 516 | 0 | 22.5 | 36.4 | MIT | 1 month ago | |
| phootwork/php-cs-fixer-config | Reusable PHP-CS-Fixer configuration by phootwork. Provides a shared ruleset and presets to standardize code style across projects, making it easy to apply consistent formatting in CI and local development with minimal setup. | 3 | 4 | 2 | 30 | 0 | 22.8 | 15.1 | MIT | 5 months ago | |
| php-debugbar/php-debugbar | PHP Debug Bar adds a browser debug toolbar to PHP apps with timing, memory, messages, exceptions, request data, PDO/Monolog/Symfony collectors, AJAX support, and saved request history. Easy to integrate and extend with custom collectors (dev only). | 4,383 | 4,384 | 426 | 3M | 0 | 67.0 | 45.4 | MIT | 1 day ago | |
| php-di/php-di | PHP-DI is a practical, powerful, framework-agnostic dependency injection container for PHP. It helps manage services and wiring with autowiring and flexible configuration, making applications easier to build, test, and maintain across any framework. | 2,779 | 2,857 | 324 | 2M | 56 | 69.2 | 74.5 | MIT | 7 months ago | |
| php-jsonpointer/php-jsonpointer | RFC6901 JSON Pointer implementation for PHP 8.1+. Parse JSON and retrieve values using pointer paths (e.g. /foo, /bar/baz, /qux/0) with proper escaping and clear exceptions for invalid JSON or missing references. | 88 | 92 | 10 | 553K | 1 | 0.8 | 52.3 | MIT | — | |
| php-school/cli-menu | Build interactive command-line menus in PHP. Create selectable lists, checkboxes and radio items, submenus, and styled output with custom colors and layouts. Handle keyboard navigation and callbacks for a smooth TUI experience. | 1,946 | 1,959 | 108 | 13K | 7 | 38.9 | 16.9 | MIT | 8 months 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 | |
| phpcr/phpcr-utils | Utility library for PHPCR (PHP Content Repository) implementations. Provides helper classes for sessions, node/paths handling, query utilities, and common repository operations to simplify working with PHPCR backends in your applications. | 74 | 74 | 31 | 33K | 14 | 34.4 | 48.4 | NOASSERTION | 4 months 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/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 | |
| phpunitgoodpractices/polyfill | Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades. | 11 | 11 | 2 | 16K | 6 | 12.1 | 52.5 | MIT | 3 years ago | |
| phpyh/coding-standard | Opinionated PHP coding standard for Laravel projects, built on PHP-CS-Fixer with ready-to-use presets and rules tailored to modern PHP. Provides a simple config, consistent formatting, and easy CI integration to keep teams aligned. | 23 | — | 1 | — | 1 | 20.2 | — | MIT | 5 months ago | |
| phpyh/psalm-tester | Run Psalm static analysis against your PHP code and quickly validate issues across versions/configs. psalm-tester helps automate Psalm runs in CI, compare results, and catch regressions with minimal setup for package and app maintainers. | 2 | — | 1 | — | 1 | 20.2 | — | MIT | 2 years ago | |
| pontedilana/php-weasyprint | PHP wrapper for WeasyPrint (v60+) to generate PDFs from URLs or HTML. Snappy-like API: stream or download PDFs, save to file, set/reset WeasyPrint CLI options (stylesheets, attachments, media type), with built-in process timeouts. | 76 | 77 | 13 | 38K | 1 | 26.9 | 43.8 | MIT | 2 days ago | |
| power-components/livewire-powergrid | Build modern, customizable data tables with Laravel Livewire in minutes. PowerGrid ships with sensible defaults plus sorting, filtering, global search, inline editing, action buttons/checkboxes, and export—minimal setup, powerful results. | 1,678 | 1,680 | 244 | 36K | 0 | 44.9 | 21.9 | MIT | 1 month ago | |
| power-components/livewire-powergrid | Build modern, customizable data tables with Laravel Livewire in minutes. PowerGrid ships with sensible defaults plus sorting, filtering, global search, inline editing, action buttons/checkboxes, and export—minimal setup, powerful results. | 1,678 | 1,680 | 244 | 36K | 0 | 44.9 | 21.9 | MIT | 1 month ago | |
| predis/predis | Predis is a flexible, feature-complete Redis/Valkey client for PHP 7.2+. Supports Redis 3.0–8.0, clusters, Sentinel/replication, pipelining, transactions, Lua scripting, SCAN iterators, TLS/Unix sockets, lazy/persistent connections, and custom commands. | 7,754 | 8,039 | 995 | 6M | 15 | 74.6 | 56.2 | MIT | 1 month ago | |
| psalm/plugin-laravel | Psalm plugin for Laravel that adds deep framework-aware static analysis plus taint-based security scanning. Detects SQL injection, XSS, SSRF, shell injection, file traversal, and open redirects by tracking user input flows across functions and services. | 327 | 327 | 75 | 99K | 28 | 41.9 | 53.7 | MIT | 3 days ago | |
| radebatz/type-info-extras | Extra type information helpers for radebatz/type-info. Adds additional utilities for describing, inspecting, and working with PHP types, improving reflection-based tooling and type metadata in your projects. | 4 | 5 | 0 | 324K | 0 | 22.4 | 65.0 | MIT | 1 month ago | |
| rebing/graphql-laravel | Code-first GraphQL integration for Laravel based on webonyx/graphql-php. Define schemas, types, queries, and mutations in PHP; support multiple schemas, per-schema middleware, resolver middleware, privacy rules, and n+1 avoidance via dataloaders or SelectFields eager loading. | 2,211 | 2,226 | 272 | 207K | 1 | 50.3 | 32.6 | MIT | 1 week ago | |
| redaxo/php-cs-fixer-config | Opinionated PHP-CS-Fixer configuration for REDAXO projects. Ships a ready-to-use ruleset to standardize code style and enforce consistent formatting across your codebase, making it easier to keep teams aligned and reviews focused on logic, not whitespace. | 10 | 10 | 2 | 4K | 1 | 28.1 | 41.4 | MIT | 1 month ago | |
| redwebcreation/twitter-stream-api | Laravel package for connecting to Twitter’s streaming API, letting you filter and consume live tweets in real time. Provides a simple wrapper to authenticate, open a stream, handle events, and integrate tweet processing into your app or queue workers. | 32 | — | 9 | — | 2 | 20.8 | — | MIT | 2 years ago | |
| resend/resend-php | Official Resend PHP SDK (PHP 8.1+) for sending emails via the Resend API. Install with Composer, create a client with your API key, and send emails with a simple emails->send() call. Inspired by openai-php. | 56 | 57 | 6 | 596K | 2 | 30.7 | 65.9 | MIT | 1 week ago | |
| revolt/event-loop-adapter-react | Run ReactPHP libraries on the Revolt event loop. This adapter lets you pass React\EventLoop\Loop::get() where a LoopInterface is required, automatically bridging ReactPHP components to Revolt for a single, unified loop. | 17 | 17 | 1 | 8K | 0 | 21.0 | 42.6 | MIT | 2 years ago | |
| rize/uri-template | RFC 6570 URI Template implementation for PHP. Expand templates into URLs and extract variables from matching URIs. Supports all expression types/levels, path segment and query expansions, plus base URI and default parameters—handy for building API endpoints. | 420 | 437 | 15 | 3M | 1 | 25.7 | 63.6 | MIT | 4 months ago | |
| rybakit/msgpack | Pure PHP MessagePack serializer. Fully compliant with the latest spec, supports streaming unpacking, unsigned 64-bit integers, object serialization via custom types/extensions, and is well tested with good performance. Install via Composer; pack/unpack easily. | 406 | 411 | 20 | 377K | 1 | 29.3 | 48.2 | MIT | 3 months ago | |
| sabre/dav | sabre/dav is a popular PHP framework for building WebDAV, CalDAV, and CardDAV servers. It provides the core server stack plus extensions for calendars and contacts, with full documentation and installation guides at sabre.io. | 1,696 | 1,719 | 368 | 257K | 157 | 68.5 | 70.5 | BSD-3-Clause | 1 year ago | |
| sabre/event | Lightweight PHP library for event-driven development: EventEmitter, promises, an event loop, and coroutines. Designed for building asynchronous, event-based applications. Documentation at sabre.io/event. Requires PHP 7.1. | 352 | 365 | 24 | 481K | 4 | 30.6 | 52.7 | BSD-3-Clause | 1 year ago | |
| sabre/http | sabre/http is a lightweight toolkit for working with HTTP in PHP. It wraps superglobals and output functions into extendable, mockable Request and Response objects, making it easier to read request data and send headers/body consistently across your app. | 190 | 197 | 59 | 257K | 5 | 33.3 | 53.5 | BSD-3-Clause | 7 months ago | |
| sabre/uri | Lightweight, RFC3986-compliant PHP URI utility library. Resolve relative URLs, normalize for comparisons, parse/build (like parse_url with Windows path edge cases), and split URIs into dirname/basename. Fully unit tested and inspired by Node’s URL APIs. | 293 | 304 | 20 | 701K | 3 | 31.2 | 56.6 | BSD-3-Clause | 1 week ago | |
| sabre/vobject | Parse, generate, and manipulate iCalendar (RFC5545) and vCard (RFC6350) data in PHP with an easy-to-use API. sabre/vobject supports reading/writing VObject structures for calendar and contact workflows via Composer install. | 596 | 618 | 132 | 482K | 77 | 55.9 | 78.9 | BSD-3-Clause | 2 months ago | |
| sabre/xml | sabre/xml is a lightweight, specialized XML reader and writer for PHP. It makes it easy to parse XML into structured data and generate XML output with namespace support. Version 3 adds strict type declarations and supports PHP 7.4+ and PHP 8. | 528 | 551 | 77 | 674K | 17 | 39.5 | 56.4 | BSD-3-Clause | 1 week ago | |
| saloonphp/cache-plugin | Laravel-friendly caching plugin for the Saloon PHP HTTP client. Adds configurable request/response caching with drivers, TTL controls, and cache keys to speed up repeated API calls and reduce rate limits, while keeping your integration code clean. | 12 | — | 4 | — | 0 | 20.4 | — | MIT | 2 weeks ago | |
| saloonphp/laravel-plugin | Laravel plugin for Saloon that integrates cleanly with Laravel apps. Add drivers, config and service container support for API clients, with first-class testing and convenient helpers to build and send requests through Saloon. | 78 | — | 22 | — | 0 | 21.2 | — | MIT | 1 week ago | |
| saloonphp/pagination-plugin | Adds paginated response support to SaloonPHP. Provides a PaginationPlugin with helpful abstractions to iterate through pages and results when working with APIs that return paginated data, keeping pagination logic out of your connectors and requests. | 9 | 8 | 3 | 170K | 0 | 25.2 | 65.0 | MIT | 2 weeks ago | |
| saloonphp/saloon | Saloon is a fluent, testable HTTP client framework for PHP/Laravel that helps you build API integrations with connectors, requests, plugins, and mocking. It supports retries, authentication, pagination, and robust tooling for clean, maintainable SDKs. | 2,399 | 2,398 | 119 | 764K | 12 | 48.5 | 47.2 | MIT | 2 weeks ago | |
| saloonphp/xml-wrangler | XML helper for Saloon: parse XML responses into arrays/objects, map nodes to data, handle namespaces, attributes and CDATA, and build or transform XML payloads cleanly. Great for SOAP-style APIs and legacy XML integrations in Laravel/PHP. | 422 | 423 | 16 | 157K | 4 | 29.8 | 43.6 | MIT | 2 weeks ago | |
| sanmai/di-container | Lightweight PSR-11 compatible dependency injection container for PHP. Supports autowiring via reflection, bindings and shared services, simple configuration, and fast resolution with minimal boilerplate—suitable for small apps and libraries needing a straightforward DI container. | 7 | 7 | 2 | 743K | 3 | 24.9 | 66.4 | BSD-3-Clause | 2 months ago | |
| sanmai/duoclock | PSR-20 clock abstraction with dual time access (DateTimeImmutable, time(), microtime()) plus mockable sleep/usleep/nanosleep for testing. Includes deterministic TimeSpy and tick helpers to measure elapsed time. Minimal dependency (psr/clock) and easy to mock. | 3 | 3 | 1 | 768K | 0 | 21.3 | 65.0 | Apache-2.0 | 3 months ago | |
| sanmai/later | Later is a tiny PHP library for scheduling delayed callbacks and lightweight task execution. Queue functions to run after a given time, manage timers, and build simple background jobs without a full framework. Useful for CLI daemons and event loops. | 72 | 73 | 3 | 953K | 1 | 23.0 | 65.0 | Apache-2.0 | 11 months ago | |
| sanmai/phpstan-rules | Extra PHPStan rules from sanmai that extend static analysis for PHP projects. Helps catch additional issues not covered by core rules, improving code quality and consistency with minimal setup. | 3 | 4 | 0 | 1K | 0 | 25.3 | 40.0 | Apache-2.0 | 1 month ago | |
| sanmai/phpunit-double-colon-syntax | PHPUnit extension that adds support for “double colon” syntax in tests, improving readability when referencing classes and methods. Lightweight and focused, it helps you write clearer PHPUnit test code with a familiar static-style notation. | 0 | 0 | 0 | 927 | 0 | 21.2 | 48.7 | BSD-3-Clause | 7 months ago | |
| sanmai/phpunit-legacy-adapter | Compatibility adapter for running legacy PHPUnit test suites on newer PHPUnit versions. Helps bridge API changes, keep older tests passing, and smooth migrations without rewriting everything. Suitable for maintaining long-lived PHP projects with outdated test setups. | 3 | 3 | 1 | 2K | 0 | 22.4 | 43.5 | Apache-2.0 | 2 years ago | |
| sanmai/pipeline | sanmai/pipeline is a lightweight PHP pipeline library to process data through a chain of stages. Compose reusable, testable transformations with clear input/output flow, and plug in custom middleware-like steps for flexible processing in any app. | 74 | 77 | 6 | 1,000K | 14 | 34.4 | 74.0 | Apache-2.0 | 2 months ago | |
| sempro/phpunit-pretty-print | Pretty-print PHPUnit test output for cleaner, more readable console runs. sempro/phpunit-pretty-print adds a nicer, compact format that highlights failures and progress, helping you scan results faster while keeping compatibility with standard PHPUnit workflows. | 186 | 187 | 25 | 60K | 3 | 24.3 | 41.6 | MIT | 5 years ago | |
| sentry/sentry | Official Sentry SDK for PHP. Capture exceptions and errors, add context, and send events to Sentry for real-time monitoring and debugging. Easy Composer install and early app initialization; works standalone and via official Symfony and Laravel integrations. | 1,904 | 1,927 | 468 | 6M | 18 | 59.9 | 66.8 | MIT | 1 week ago | |
| sentry/sentry-laravel | Official Sentry SDK for Laravel. Capture unhandled exceptions and performance data, enrich events with Laravel context, and send them to Sentry for alerting and debugging. Supports Laravel 11/12 (with docs for older versions and Lumen). | 1,337 | 1,353 | 207 | 3M | 20 | 49.8 | 65.0 | MIT | 3 days ago | |
| sidz/phpstan-rules | Custom PHPStan rules aimed at Laravel projects, helping catch common mistakes and enforce best practices. Adds extra static analysis checks tailored to typical framework patterns, improving code quality, consistency, and confidence during refactors. | 31 | 31 | 4 | 19K | 0 | 24.8 | 45.1 | MIT | 8 months 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 | |
| slim/slim | Slim is a PHP micro-framework for building fast, simple web apps and APIs. PSR-7/PSR-15 compatible, with flexible routing and middleware. Choose your preferred PSR-7 implementation (Slim-Psr7, Nyholm, Guzzle, etc.) and optional Slim-Http decorators. | 12,247 | 12,513 | 1,958 | 864K | 10 | 72.1 | 35.1 | MIT | 4 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 | |
| spatie/better-types | Reflection-powered type checking for PHP: verify whether a ReflectionType or method signature accepts given arguments (including unions/nullables and named params). Useful for dispatching/overload-like method selection and safer dynamic calls. | 81 | 81 | 5 | 150K | 0 | 23.3 | 53.0 | MIT | 1 month ago | |
| spatie/calendar-links | Generate “Add to calendar” links and ICS files for events. Supports Google Calendar, iCal/Apple Calendar, Outlook and more. Define title, start/end, description and location, then get shareable URLs or downloadable .ics content for your app. | 1,000 | 1,010 | 157 | 191K | 0 | 38.7 | 37.1 | MIT | 2 months ago | |
| spatie/commonmark-shiki-highlighter | League/CommonMark code block renderer that highlights fenced code using Shiki PHP. Includes extra Antlers and Blade grammars in addition to Shiki’s 100+ languages. Ideal for Laravel setups (see spatie/laravel-markdown). Requires JS shiki v1. | 89 | 89 | 15 | 185K | 0 | 24.8 | 53.8 | MIT | 4 months ago | |
| spatie/elasticsearch-query-builder | Lightweight fluent PHP query builder for Elasticsearch. Build and execute searches with an ergonomic Builder API: set index, add queries, aggregations, sorting, and filters, then run search() against the official Elasticsearch PHP client. | 183 | 183 | 46 | 32K | 0 | 31.4 | 36.4 | MIT | 3 months ago | |
| spatie/flare-client-php | PHP client for sending errors, exceptions, and stack traces to Flare. Install via Composer, configure your API key, and report incidents from any PHP 8.2+ app. For Laravel integrations, use spatie/laravel-flare. | 177 | 178 | 20 | 4M | 0 | 30.7 | 65.0 | MIT | 3 weeks ago | |
| spatie/flare-debug-sender | Debug sender for Flare payloads, mainly for internal testing. Plug it into Laravel’s Flare config to inspect, log, or forward payloads, optionally printing full payload details and controlling passthrough/trace handling via configurable channels and sender options. | 0 | 0 | 0 | 490 | 0 | 24.0 | 43.7 | MIT | 5 months ago | |
| spatie/flysystem-google-cloud-storage | Google Cloud Storage adapter for Flysystem v1 (PHP 8). A maintained fork adding modern PHP support and merged fixes. Use it to connect Flysystem’s filesystem API to GCS with Google’s client authentication. | 24 | 25 | 2 | 25K | 0 | 22.3 | 48.7 | MIT | 2 years ago | |
| spatie/guzzle-redirect-history-middleware | Guzzle middleware that records redirect chains for each request. Attach RedirectHistoryMiddleware to your handler stack to capture every Location hop and inspect the final URL and intermediate redirects via a RedirectHistory instance. | 19 | 19 | 4 | 541 | 0 | 21.1 | 23.5 | MIT | 4 years ago | |
| spatie/laravel-ciphersweet | Laravel wrapper for Paragonie CipherSweet that adds searchable field-level encryption to Eloquent models. Encrypt/decrypt sensitive attributes and generate blind indexes so you can query encrypted data securely without exposing readable values in your database. | 419 | 417 | 38 | 32K | 0 | 30.2 | 30.7 | MIT | 1 week ago | |
| spatie/laravel-data | Create rich, typed data objects in Laravel for requests, validation, and API resources. Build from arrays/requests/models, transform output, use lazy properties, auto-generate validation rules, and even generate TypeScript definitions from your Data classes. | 1,721 | 1,726 | 278 | 2M | 13 | 50.9 | 54.9 | MIT | 1 week ago | |
| spatie/laravel-login-link | Spatie Laravel Login Link adds a Blade component to render one-click login links for seeded users in local development. Great for admin areas and teams: pick a user/role without remembering credentials. Restricts usage by allowed hosts (defaults to localhost). | 438 | 439 | 27 | 67K | 0 | 30.3 | 35.5 | MIT | 1 month ago | |
| spatie/laravel-options | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 252 | 256 | 9 | 14K | 0 | 25.1 | 28.5 | MIT | 4 days ago | |
| spatie/laravel-random-command | Adds a playful php artisan random command that picks and runs a random Artisan command for you. Also auto-schedules itself to run at random times. Mostly for fun—probably not something you want in production (or anywhere). | 39 | 39 | 6 | 0 | 0 | 23.1 | — | MIT | 3 years ago | |
| spatie/laravel-translatable | Add multilingual fields to Eloquent models using a simple HasTranslations trait. Store translations as JSON on the model (no extra tables). Set/get translations per locale, switch app locale, fetch all translations, and even translate nested JSON keys via -> notation. | 2,431 | 2,455 | 298 | 942K | 0 | 50.5 | 42.1 | MIT | 1 month ago | |
| spatie/laravel-translation-loader | Store Laravel/Lumen translation strings in the database while keeping the familiar __() helper. Mix file and DB translations; DB values override files. Extendable to other translation sources via custom providers. | 836 | 839 | 91 | 105K | 0 | 36.2 | 34.1 | MIT | 1 month ago | |
| spatie/laravel-twitter-streaming-api | Laravel package to consume Twitter’s Streaming API. Easily listen to public streams for keywords/hashtags or user actions with a fluent API and callbacks, then start a long-running listener (e.g., via an Artisan command) to process incoming tweets in real time. | 205 | 209 | 23 | 95 | 0 | 26.8 | 2.7 | MIT | 1 month ago | |
| spatie/laravel-typescript-transformer | Convert PHP classes, enums, and more into accurate TypeScript types in Laravel. Supports complex types, generics, and even TypeScript functions, keeping frontend typings in sync with your backend models via simple PHP attributes. | 373 | 370 | 32 | 354K | 1 | 31.7 | 48.4 | MIT | 3 weeks ago | |
| spatie/php-cloneable | Trait for PHP 8.1+ that makes objects with readonly properties cloneable. Safely “clone with changes” by copying an object while overriding readonly fields—handy until PHP gets native clone-with support. | 97 | 98 | 8 | 52K | 0 | 21.6 | 44.3 | MIT | 2 years ago | |
| spatie/php-type-graph | Build a graph of all PHP types in your project. Analyze classes, interfaces, enums, and their relationships to understand your codebase structure, dependencies, and type usage. Useful for architecture insights, tooling, and visualization (WIP). | 10 | 9 | 4 | 0 | 0 | 10.7 | — | MIT | 2 years ago | |
| spatie/schema-org | Fluent PHP builder for Schema.org: generate any type and property from the full core vocabulary and output valid JSON-LD (ld+json) script tags. Generated from the official Schema.org JSON-LD, with documented classes and methods. | 1,477 | 1,490 | 146 | 278K | 0 | 40.8 | 37.0 | MIT | 2 months ago | |
| spatie/shiki-php | PHP wrapper around Shiki for server-side syntax highlighting. Highlight code snippets to themed HTML using VS Code grammars, with support for many languages and themes. Great for docs, blogs, and static site generation in Laravel or any PHP app. | 307 | 309 | 32 | 2M | 0 | 29.7 | 60.3 | MIT | 2 months ago | |
| spatie/sidecar-shiki | Run Shiki syntax highlighting on AWS Lambda via Sidecar from your Laravel app—no Node.js or Shiki dependencies on your server. Install the package, configure Sidecar, register the HighlightFunction, and render highlighted code fast and consistently. | 36 | 36 | 1 | 0 | 0 | 22.4 | — | MIT | 1 year ago | |
| spatie/twitter-labs | ReactPHP-powered PHP client for Twitter Developer Labs realtime endpoints, focused on the new filtered stream API as legacy streaming is deprecated. Works without deep React knowledge but integrates with event loops; easy migration from spatie/twitter-streaming-api. | 40 | 40 | 6 | 0 | 0 | 21.6 | — | MIT | 5 years ago | |
| spatie/twitter-oembed | Fetch Twitter (X) tweet embed HTML via the public oEmbed API—no developer account needed. Lightweight utility for turning tweet URLs into embeddable HTML for blogs, markdown, editors, or emails, without relying on Twitter’s heavy JavaScript widget. | 10 | 10 | 0 | 73 | 0 | 0.1 | 12.2 | MIT | — | |
| spatie/twitter-streaming-api | Laravel-friendly PHP client for Twitter’s Streaming API. Keep an open HTTPS connection and react to tweets and user events in real time (no polling). Easily filter streams, listen for keywords/mentions, and handle incoming tweet payloads with callbacks. | 173 | 176 | 32 | 248 | 0 | 24.8 | 6.3 | MIT | 4 years ago | |
| spatie/typescript-transformer | Generate TypeScript definitions from your PHP/Laravel code. This package scans classes, enums and other types, then transforms them into TS types/interfaces automatically to keep frontend typings in sync with backend models and DTOs. | 372 | — | 54 | — | 3 | 24.5 | 1.8 | MIT | 3 weeks ago | |
| spatie/weight-conversions | Lightweight PHP package for converting between common weight units (e.g., grams, kilograms, pounds, ounces). Handy for apps needing consistent unit handling in calculations, forms, and APIs, with a simple, dependency-free API. | 4 | 4 | 2 | 0 | 0 | 21.0 | — | MIT | 4 years ago | |
| spatie/workshop-unit-conversions | Lightweight PHP package for performing unit conversions in Laravel or any PHP app. Install via Composer and convert values between supported units with a simple API. Includes tests, changelog, and MIT license. | 2 | 2 | 1 | 2 | 0 | 20.6 | 3.6 | MIT | 5 years ago | |
| spiral/grpc-client | Framework-friendly PHP gRPC client with a simple, Guzzle-like API. Supports standalone use or Spiral integration, DTO-based configuration, interceptors (timeouts, retries), and structured exceptions. Requires the PHP gRPC extension. | 41 | 41 | 0 | 152K | 1 | 21.9 | 57.8 | MIT | 3 weeks ago | |
| stolt/lean-package-validator | CLI tool to validate PHP micro-packages for “leanness” by ensuring common repo artifacts aren’t shipped in release archives. Can also create and update .gitattributes export-ignore entries to keep distribution assets clean. | 17 | 17 | 7 | 79 | 5 | 31.8 | 13.2 | MIT | 1 day ago | |
| stripe/stripe-php | Official Stripe PHP SDK for accessing the Stripe API. Install via Composer, configure your API key, and use resource classes to create charges, customers, subscriptions, and more. Works with PHP 7.2+ (requires curl, json, mbstring). | 3,991 | 4,072 | 893 | 4M | 10 | 71.1 | 53.4 | MIT | 2 days 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 | |
| t3docs/fluid-documentation-generator | Generates automatic TYPO3 Fluid ViewHelper reference docs in RST plus a JSON index. Configured via one or more JSON files and run from a CLI command to build navigable namespace/group/file structure for rendering with render-guides. | 1 | 1 | 2 | 840 | 0 | 23.4 | 42.6 | LGPL-3.0 | 1 week ago | |
| team-reflex/discord-php | DiscordPHP is a PHP wrapper for Discord’s REST, Gateway, and Voice APIs. Build Discord bots and integrations in CLI using an event-driven approach (ReactPHP). Includes guides and class reference; community Laravel integration available via Laracord. | 1,067 | 1,067 | 252 | 13K | 6 | 47.6 | 23.4 | MIT | 3 days ago | |
| tedivm/jshrink | Native PHP JavaScript minifier for shrinking JS on the fly (cache recommended). Simple API: JShrink\Minifier::minify($js), with options like disabling flagged comment preservation. BSD licensed. | 761 | 774 | 147 | 605K | 13 | 39.0 | 52.5 | BSD-3-Clause | 4 months ago | |
| tedivm/stash | Stash is a PHP caching library for speeding up expensive code (DB queries, API calls) by storing results in a cache. It provides Pool and Item APIs with pluggable storage Drivers, including composite setups and maintenance tools like purge. | 961 | 982 | 130 | 26K | 34 | 47.5 | 37.9 | BSD-3-Clause | 3 months ago | |
| tempest/highlight | Fast, extensible server-side code highlighting for PHP and more. Tempest Highlight parses source code into highlighted output with a simple API: instantiate the Highlighter and call parse($code, 'php'). Ideal for docs, blogs, and code previews. | 691 | 690 | 48 | 56K | 7 | 35.8 | 33.1 | MIT | 3 days 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 | |
| twilio/sdk | Official Twilio PHP SDK for interacting with Twilio APIs. Send SMS and WhatsApp messages, place and manage voice calls, handle phone number provisioning, and more. Install via Composer and use the REST client to access Twilio services. | 1,630 | 1,666 | 578 | 2M | 23 | 61.8 | 68.3 | MIT | 2 weeks ago | |
| typo3/cms-composer-installers | Composer plugin for TYPO3 CMS projects that installs the TYPO3 core and extensions into a working directory structure. Configure via composer.json extra settings like required extension-key for extensions and web-dir for the public document root. | 61 | 62 | 38 | 249K | 2 | 30.5 | 58.6 | GPL-2.0 | 4 months ago | |
| typo3/coding-standards | TYPO3 Coding Standards provides PHP_CodeSniffer rulesets and tooling for TYPO3 projects. Enforces consistent formatting and best practices, integrates with CI and IDEs, and helps teams keep TYPO3 extensions and core-compatible PHP code clean and uniform. | 66 | — | 15 | — | 2 | 21.4 | 0.9 | MIT | 1 year ago | |
| typo3fluid/fluid | TYPO3Fluid is a standalone PHP templating engine from TYPO3, providing the Fluid syntax for building secure, reusable templates with view helpers, layouts, partials, and caching. Use it in any PHP project without the full TYPO3 CMS stack. | 167 | 173 | 107 | 315K | 57 | 50.0 | 77.7 | LGPL-3.0 | 3 days ago | |
| ueberdosis/tiptap-php | PHP utilities for working with Tiptap: parse and validate ProseMirror/Tiptap JSON, render or transform documents, and build extensions-friendly pipelines on the backend. Ideal for Laravel apps needing server-side handling of rich-text editor content. | 265 | 259 | 43 | 1M | 15 | 30.2 | 71.2 | MIT | 2 months ago | |
| 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 | |
| vincentlanglet/twig-cs-fixer | A coding standards fixer for Twig templates. Analyze and automatically format Twig files with consistent style rules, configurable presets, and CI-friendly checks to keep templates clean and readable across your project. | 336 | 335 | 36 | 617K | 5 | 33.7 | 57.1 | MIT | 1 month ago | |
| webonyx/graphql-php | A PHP implementation of the GraphQL specification, modeled after graphql-js. Build schemas, types, and resolvers; execute queries with validation and tooling. Well-documented, widely used, and maintained with semantic versioning. | 4,705 | 4,730 | 572 | 2M | 36 | 81.4 | 65.5 | MIT | 1 week ago | |
| widmogrod/php-functional | Functional programming toolkit for PHP with immutable data structures, monads and typed abstractions. Includes Option/Either/Try, collections, pattern matching, and helpers for safer, composable code. Useful for DDD, CQRS and FP-style application architecture. | 367 | 372 | 32 | 192K | 7 | 29.0 | 46.9 | MIT | 1 year ago | |
| workos/workos-php | Official PHP SDK for WorkOS. Integrate enterprise features like SSO (SAML/OIDC), directory sync (SCIM), user management, audit logs, webhooks, and MFA with simple PHP APIs for backend apps and frameworks. | 39 | — | 18 | — | 3 | 22.3 | 4.5 | MIT | 1 month ago | |
| yamadashy/phpstan-friendly-formatter | PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly. | 64 | 64 | 5 | 37K | 1 | 22.5 | 44.8 | MIT | 2 months ago | |
| yiisoft/aliases | yiisoft/aliases stores and resolves path aliases (strings starting with @) for filesystem paths or URLs. Define aliases like @root, @vendor, @bin and expand them on demand, supporting nested aliases (e.g., @bin => @vendor/bin) without checking path existence. | 24 | 24 | 8 | 25K | 3 | 22.3 | 49.1 | BSD-3-Clause | 4 months ago | |
| yiisoft/arrays | Lightweight PHP helper library from Yii for working with arrays: safe get/set, key/value extraction, sorting, filtering, grouping, and path-based access. Designed for clean, reusable utilities across projects with minimal dependencies. | 56 | — | 27 | — | 4 | 22.3 | 1.8 | BSD-3-Clause | 4 months ago | |
| yiisoft/code-style | Coding style and quality tools for PHP projects from Yii. Provides configuration and presets to keep code formatting consistent and enforce standards across your repository, helping teams maintain clean, readable code with automated checks. | 3 | 3 | 0 | 5K | 0 | 20.3 | 50.2 | BSD-3-Clause | 2 months ago | |
| yiisoft/definitions | Lightweight library for defining and resolving dependencies in Yii/PHP applications. Provides definition objects, references, configuration-driven wiring, and flexible value factories to build services and parameters for DI containers and service providers. | 15 | — | 5 | — | 3 | 21.2 | 1.8 | BSD-3-Clause | 4 months ago | |
| yiisoft/di | PSR-11 compatible dependency injection container for PHP 8.1+. Supports autowiring plus constructor, method and property injection, aliasing, service providers, delegated/composite containers, circular reference detection, and state reset for long-running workers. | 236 | 238 | 46 | 23K | 14 | 29.1 | 39.6 | BSD-3-Clause | 4 months ago | |
| yiisoft/files | Yii Files is a PHP 8+ utility package with FileHelper methods for common filesystem tasks: ensure/create directories with permissions, remove or clear directories, filter files via path matching, and other file and directory management helpers. | 36 | 36 | 16 | 34K | 3 | 22.1 | 49.0 | BSD-3-Clause | 4 months ago | |
| yiisoft/friendly-exception | Defines FriendlyExceptionInterface for exceptions that provide a human-friendly name and suggested solution. Lets error handlers detect these exceptions and display clearer, actionable information on error pages. Includes guidance for writing short, markdown-based solutions. | 49 | 49 | 9 | 49K | 1 | 21.5 | 48.7 | BSD-3-Clause | 4 months ago | |
| yiisoft/html | yiisoft/html provides lightweight, secure HTML helpers for PHP: build tags, attributes, forms, and content safely with proper escaping. Simple API, framework-agnostic and suitable for Yii and other projects needing reliable HTML generation. | 58 | — | 22 | — | 7 | 22.9 | 2.2 | BSD-3-Clause | 3 weeks ago | |
| yiisoft/i18n | Yii i18n provides lightweight internationalization utilities for PHP: a BCP 47 Locale value object to parse and modify locale parts, build locale strings, and derive fallbacks, plus a stateful LocaleProvider service for managing the current and default locale. | 27 | 27 | 28 | 18K | 2 | 22.3 | 45.7 | BSD-3-Clause | 4 months ago | |
| yiisoft/injector | PSR-11 compatible dependency injector with autowiring. Resolves and injects dependencies when calling functions or creating objects, supports extra arguments by name or type, and handles variadic parameters. Works with any PSR-11 container. | 94 | 94 | 17 | 234K | 6 | 24.5 | 57.4 | BSD-3-Clause | 4 months ago | |
| yiisoft/json | Yii JSON is a lightweight PHP library for encoding/decoding JSON with sensible defaults. It throws JsonException on errors, supports JsonSerializable, DateTimeInterface and SimpleXMLElement, and includes safe HTML encoding for embedding JSON in pages. | 28 | 28 | 7 | 26K | 2 | 21.1 | 47.9 | BSD-3-Clause | 4 months ago | |
| zbateson/mail-mime-parser | PSR-compliant, testable MIME email parser for PHP 8.1+ as an alternative to imap* and PEAR. Parses RFC 822/2822/5322 messages from strings, resources, or PSR-7 streams; standards-compliant yet forgiving, with a cleaned-up 4.x API. | 539 | 541 | 59 | 1M | 18 | 38.7 | 61.5 | BSD-2-Clause | 4 weeks ago | |
| zbateson/mb-wrapper | Lightweight PHP wrapper for mbstring that normalizes multibyte string operations across environments. Provides consistent encoding-aware helpers and safe fallbacks when mbstring isn’t available, making string handling more reliable in libraries and apps. | 49 | 49 | 8 | 1M | 0 | 23.7 | 65.0 | BSD-2-Clause | 1 month ago | |
| zbateson/stream-decorators | Lightweight PHP stream decorators for composing and filtering streams. Wrap any resource to add behaviors like buffering, limiting, logging, or on-the-fly transforms while keeping a standard stream interface. Useful for email parsing, I/O pipelines, and testing. | 47 | 48 | 7 | 1M | 0 | 26.4 | 65.0 | BSD-2-Clause | 1 month ago | |
| zircote/swagger-php | Generate OpenAPI 3.0/3.1/3.2 specs from your PHP 8.2+ code using native attributes (preferred) or optional Doctrine annotations. Includes CLI and programmatic generation, pulls from phpdoc, and provides helpful error reporting for REST APIs. | 5,287 | 5,372 | 946 | 3M | 13 | 73.4 | 50.6 | Apache-2.0 | 1 day ago |
How can I help you explore Laravel packages today?