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.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| brianium/paratest | ParaTest runs PHPUnit tests in parallel with near zero setup. Use vendor/bin/paratest to split by TestCase or individual tests, speed up CI, and combine code coverage into one report. Provides TEST_TOKEN/UNIQUE_TEST_TOKEN for per-process isolation. | 2,459 | 2,472 | 250 | 5M | 2 | 51.5 | 54.4 | MIT | 18 hours ago | |
| dms/coding-standard | DMS Coding Standard provides a customized PHPCS ruleset for consistent PHP code style across repositories. Based on PSR-1/PSR-2 with Doctrine flavor, enforcing strict_types declarations and return type spacing rules. | 1 | 1 | 1 | 24 | 0 | 20.9 | 18.1 | — | 2 years ago | |
| doctrine/annotations | Doctrine Annotations parses and reads docblock annotations for PHP projects. Considered feature complete since PHP 8 attributes are the native replacement; this package now focuses on bugfixes and security fixes. Documentation available on doctrine-project.org. | 6,745 | 6,785 | 230 | 6M | 26 | 68.6 | 58.7 | MIT | 1 year ago | |
| doctrine/cache | Doctrine Cache is a legacy cache component extracted from Doctrine Common, offering multiple cache drivers and interfaces used across Doctrine projects. Note: the library is deprecated and no longer maintained; prefer a PSR-6 or PSR-16 cache instead. | 7,879 | 7,973 | 213 | 5M | 1 | 60.6 | 45.7 | MIT | 3 years ago | |
| doctrine/collections | Doctrine Collections is a PHP library providing a flexible abstraction for working with collections. It offers array-like data structures, filtering and matching utilities, and common collection operations used across Doctrine projects and standalone apps. | 5,982 | 6,026 | 187 | 6M | 27 | 67.6 | 59.7 | MIT | 2 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/data-fixtures | Doctrine Data Fixtures extension for Doctrine ORM/ODM. Provides a simple, structured way to define, manage, and execute data fixtures for loading seed/test data into your database, with tooling and docs to support fixture organization and execution. | 2,851 | 2,872 | 232 | 2M | 35 | 61.2 | 60.9 | MIT | 1 week ago | |
| doctrine/dbal | Doctrine DBAL is a powerful database abstraction layer for PHP, providing a consistent API across drivers plus rich schema introspection and management tools. Ideal for building portable SQL queries, migrations, and database tooling beyond PDO. | 9,698 | 9,856 | 1,374 | 8M | 278 | 89.9 | 74.8 | MIT | 2 weeks ago | |
| doctrine/deprecations | Side-effect-free deprecation layer for PHP libs. Send E_USER_DEPRECATED notices to trigger_error or a PSR-3 logger, optionally just track them. Supports deduplication, suppression by identifier or package, and reporting counts of triggered deprecations. | 1,845 | 1,852 | 20 | 12M | 6 | 35.7 | 64.1 | MIT | 2 months ago | |
| doctrine/doctrine-bundle | Symfony bundle integrating Doctrine DBAL and ORM. Provides database abstraction, schema tools, and an object-relational mapper with DQL for powerful queries, plus configuration and tooling that fits the Symfony ecosystem. | 4,828 | 4,864 | 481 | 4M | 31 | 77.3 | 62.4 | MIT | 3 months ago | |
| doctrine/doctrine-migrations-bundle | Integrates Doctrine Migrations into Symfony apps, providing commands and configuration for versioned database schema changes. Generate, run, and rollback migrations across environments with reliable tracking and deployment-friendly workflows. | 4,306 | 4,332 | 219 | 3M | 42 | 69.8 | 65.0 | MIT | 4 months ago | |
| doctrine/event-manager | Doctrine Event Manager is a lightweight PHP library providing a simple event system for registering listeners and dispatching events. Commonly used across Doctrine components to decouple services and react to lifecycle or application events cleanly. | 6,050 | 6,056 | 22 | 8M | 0 | 48.5 | 50.5 | MIT | 2 months ago | |
| doctrine/inflector | Doctrine Inflector is a lightweight PHP library for common string transformations: convert words between singular and plural forms, and handle case changes. Useful for naming conventions in frameworks and tools where consistent word inflection is needed. | 11,355 | 11,390 | 137 | 13M | 10 | 59.3 | 55.6 | MIT | 7 months ago | |
| doctrine/instantiator | Lightweight PHP library to instantiate objects without calling their constructors. Useful for hydrators, serializers, proxies, and testing/mocking. Part of the Doctrine ecosystem; creates instances via reflection while avoiding side effects and required constructor args. | 11,010 | 11,039 | 60 | 9M | 1 | 51.4 | 47.1 | MIT | 3 months ago | |
| doctrine/lexer | Doctrine Lexer is a lightweight base library for building lexers used in top-down, recursive descent parsers. It powers tokenization in Doctrine projects like Annotations and ORM (DQL), providing a reusable foundation for custom language parsing. | 11,160 | 11,179 | 61 | 14M | 2 | 50.8 | 50.4 | MIT | 2 years ago | |
| doctrine/migrations | Doctrine Migrations is a PHP library for managing database schema changes with versioned migrations. Generate, run, and roll back migrations safely across environments, track executed versions, and integrate with Doctrine DBAL/ORM for reliable deployment workflows. | 4,774 | — | 392 | — | 119 | 75.6 | 32.3 | MIT | 1 month 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,097 | 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 | |
| doctrine/orm | Doctrine ORM is a PHP 8.1+ object-relational mapper that provides transparent persistence for objects on top of Doctrine DBAL. Includes DQL, an object-oriented SQL-like query language inspired by Hibernate HQL, for flexible, powerful querying. | 10,170 | 10,348 | 2,536 | 5M | 1,283 | 89.6 | 70.5 | MIT | 1 week ago | |
| doctrine/persistence | Leverage Doctrine Persistence for consistent object mapping and database interactions in PHP. Abstracts ORM logic, simplifying persistence across frameworks. Supports Doctrine ORM, DBAL, and more with unified abstractions. Ideal for scalable applications needing clean persistence patterns. | 4,051 | 4,053 | 77 | 5M | 16 | 56.2 | 57.0 | MIT | 5 months ago | |
| doctrine/sql-formatter | Formats SQL queries into readable, consistently indented output. Helps debug logs, review generated SQL, and improve diffs by standardizing whitespace and keywords. Supports multiple SQL dialect features and runs as a lightweight PHP library. | 1,863 | 1,867 | 27 | 5M | 9 | 37.6 | 60.2 | 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 | — | — | |
| jms/metadata | jms/metadata is a PHP library for managing class, method, and property metadata independent of its source (annotations, YAML/XML/PHP config, etc.). Extend base metadata classes, plug in drivers, and fetch metadata via MetadataFactory. | 1,821 | 1,830 | 71 | 2M | 5 | 39.5 | 53.0 | MIT | 4 months ago | |
| jms/serializer | Powerful PHP serializer/deserializer for complex object graphs, with JSON/XML support, circular reference handling, rich exclusion strategies, versioning, and built-in type handlers. Configurable via annotations, YAML, or XML; integrates with Doctrine ORM. | 2,344 | 2,408 | 589 | 2M | 134 | 76.0 | 74.7 | MIT | 2 weeks ago | |
| larastan/larastan | Larastan is a PHPStan extension for Laravel that boosts code quality by analyzing your app and catching bugs before tests. It understands Laravel’s “magic” by booting the container to resolve runtime types. Supports Laravel 9+ (version-dependent). | 6,360 | 6,364 | 492 | 3M | 76 | 89.1 | 74.3 | MIT | 1 month ago | |
| lcobucci/coding-standard | lcobucci/coding-standard provides a PHP_CodeSniffer ruleset based on Doctrine’s coding standard, with a few tweaks. Use it to enforce consistent code style and best practices across PHP projects via phpcs in CI and local development. | 6 | 6 | 2 | 4K | 1 | 24.8 | 44.5 | MIT | 5 months ago | |
| lctrs/psalm-psr-container-plugin | Psalm plugin that improves static analysis for PSR-11 containers. Adds smarter type inference for container get/has calls so services and dependencies resolve to the right classes, reducing false positives and making container-heavy code safer to refactor. | 17 | 17 | 7 | 8K | 2 | 25.5 | 44.1 | MIT | 1 year 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 | 206K | 2 | 31.0 | 39.1 | MIT | 3 months ago | |
| maglnet/composer-require-checker | CLI tool that scans your PHP sources and composer.json to ensure every used class/function/extension comes from an explicit require. Detects “soft” (transitive) dependencies and missing PHP extensions so updates don’t break your package. | 992 | 999 | 78 | 321K | 32 | 47.8 | 57.8 | MIT | 2 weeks ago | |
| malukenho/docheader | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 13K | 2 | 22.0 | 37.7 | MIT | 8 years ago | |
| 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 | |
| mnapoli/hard-mode | Hard Mode is a small PHP library by Matthieu Napoli that encourages writing more explicit, robust code by making certain “bad practices” harder or impossible at runtime. Useful for catching hidden assumptions and improving code quality in existing projects. | 9 | 9 | 1 | 320 | 0 | 21.3 | 24.7 | MIT | 5 years ago | |
| moneyphp/money | PHP library for handling money and currencies safely. Provides immutable Money and Currency value objects, arithmetic with proper rounding, comparisons, formatting, and allocation. Avoid floating-point errors in financial calculations; works well with PHP and frameworks like Laravel. | 4,822 | 4,850 | 442 | 3M | 4 | 67.7 | 46.5 | MIT | 5 months ago | |
| mongodb/laravel-mongodb | MongoDB integration for Laravel Eloquent and query builder. Extends core Laravel classes to use the same familiar API with MongoDB. Official mongodb/laravel-mongodb package, compatible with Laravel 10.x; docs and releases maintained by MongoDB. | 7,085 | 7,097 | 1,444 | 384K | 122 | 89.3 | 57.5 | MIT | 2 weeks 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 | 263 | 1M | 2 | 45.8 | 48.7 | Apache-2.0 | 1 month ago | |
| nunomaduro/larastan | Larastan is a PHPStan extension for Laravel that analyzes your app to catch bugs early. It boots the container to resolve dynamic types, supports Laravel’s “magic,” and improves code quality with stronger static typing. | 6,360 | 6,368 | 492 | 418K | 76 | 89.1 | 60.8 | MIT | 1 month ago | |
| ocramius/package-versions | Fast, zero‑I/O access to Composer dependency versions at runtime. Reads version data compiled from composer.lock during install/update, so calls are cheap. Use PackageVersions\Versions::getVersion('vendor/package') to embed or log exact versions. | 3,182 | 3,188 | 73 | 198K | 1 | 47.4 | 29.7 | MIT | 4 months 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 | |
| pdphilip/elasticsearch | Laravel Eloquent-style ORM for Elasticsearch. Use familiar models and query builder methods to create, update, paginate, delete, and run ES searches: term/phrase, match, fuzzy, geo distance, highlighting, and more—designed to feel native in Laravel. | 0 | 2 | — | 34K | — | 10.5 | 55.3 | — | — | |
| phpdocumentor/phpdocumentor | phpDocumentor generates comprehensive PHP documentation from source code and DocBlocks. It produces API docs, UML diagrams, and parses Markdown/ReStructuredText, with tooling to embed API references into narrative docs to keep documentation in sync. | 4,319 | 4,390 | 640 | 15K | 160 | 85.6 | 43.6 | MIT | 4 months ago | |
| phpdocumentor/reflection | PHPDoc reflection library used by phpDocumentor to parse docblocks and reflect types, namespaces, and symbols from PHP code. Helps tools extract documentation and metadata without executing code, powering static analysis and doc generation workflows. | 125 | 126 | 59 | 2M | 11 | 34.5 | 69.0 | MIT | 4 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 | 2 weeks ago | |
| roave/infection-static-analysis-plugin | Runs Psalm-based static analysis on top of infection/infection to classify escaped mutants as type errors and mark them killed, improving mutation score. Provides a wrapper CLI compatible with Infection flags plus --psalm-config. | 131 | 132 | 21 | 30K | 9 | 33.3 | 43.7 | MIT | 3 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 | 49K | 1 | 29.1 | 65.0 | MIT | 2 months ago | |
| yethee/tiktoken | PHP port of OpenAI tiktoken for fast tokenization. Get encoders by model or encoding name, encode text to token IDs, with default vocab caching and configurable cache dir. Optional experimental FFI lib mode (tiktoken-rs) for better performance on larger texts. | 158 | 157 | 30 | 266K | 4 | 26.9 | 53.3 | MIT | 4 weeks ago |
How can I help you explore Laravel packages today?