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.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| facile-it/paraunit | Run PHPUnit test suites faster by executing tests in parallel across multiple processes. Includes Symfony-based CLI, compatibility across PHPUnit/Symfony versions, and parallel code coverage generation (auto-chooses PCOV, Xdebug, or PHPDbg). | 145 | 146 | 18 | 31K | 14 | 35.0 | 45.0 | Apache-2.0 | 1 month ago | |
| laminas/laminas-cache | Laminas Cache provides flexible caching for PHP applications, with adapters for common backends, cache storage, patterns, plugins, and PSR-compatible integrations. Includes tools for configuring, managing, and testing cache behavior in Laminas apps. | 106 | 107 | 58 | 140K | 9 | 34.3 | 56.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-cache-storage-adapter-memory | In-memory cache storage adapter for Laminas Cache. Provides a simple, fast, non-persistent cache for the current PHP process, useful for testing, prototyping, or per-request caching without external services. | 4 | 4 | 11 | 71K | 1 | 23.9 | 65.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-cache-storage-adapter-test | Test adapter for Laminas Cache storage. Provides a lightweight in-memory storage implementation useful for unit tests and CI, enabling predictable cache behavior without external services or persistent backends. | 1 | 1 | 10 | 962 | 2 | 27.2 | 44.5 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-cli | Command-line tooling for Laminas applications. Provides a framework-agnostic CLI entry point and command infrastructure to run, discover, and organize project commands, with integration hooks for Laminas components and workflows. | 56 | 56 | 23 | 102K | 11 | 32.6 | 60.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-config-aggregator | Aggregate and merge configuration from multiple providers in Laminas/Mezzio apps. Supports ordered loading, caching, PHP/array and glob-based config files, and environment-specific overrides for fast, predictable configuration builds. | 38 | 38 | 15 | 88K | 3 | 27.3 | 56.3 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-container-config-test | Test helper for Laminas container configuration: validates service/container config arrays and wiring in a predictable way for unit tests. Useful for ensuring factories, aliases, and dependencies are registered correctly across your Laminas modules. | 5 | 5 | 6 | 5K | 2 | 24.1 | 47.7 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-diactoros | PSR-7 HTTP message implementation (ServerRequest, Request, Response, Stream, UploadedFile, Uri) for PHP. Includes factories and utilities for creating and normalizing requests/responses, with strong type coverage and interoperability with PSR-17/PSR-15. | 546 | 556 | 76 | 3M | 21 | 41.1 | 72.9 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-escaper | Securely escape untrusted data for HTML, HTML attributes, JavaScript, CSS, and URLs to prevent XSS. Laminas Escaper provides robust, context-aware escaping utilities for PHP apps and templates. | 219 | 219 | 23 | 2M | 6 | 27.5 | 65.7 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-eventmanager | Laminas EventManager provides a flexible event and listener system for PHP applications. Attach listeners, trigger events, manage priorities, and use shared event managers to coordinate decoupled components across your app. | 1,019 | 1,021 | 19 | 824K | 4 | 32.3 | 50.4 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-feed | Laminas\Feed provides tools for reading and creating RSS and Atom feeds in PHP. Parse feeds, work with entries and metadata, and generate valid syndication output for your applications or services. | 167 | 168 | 32 | 717K | 17 | 34.6 | 69.6 | BSD-3-Clause | 1 month ago | |
| laminas/laminas-filter | laminas-filter provides a set of common data filters for PHP, helping you normalize and sanitize input with reusable, composable filter classes and filter chains. Includes string, number, and file filters, with support for custom implementations. | 94 | — | 37 | — | 2 | 22.3 | 1.4 | BSD-3-Clause | 4 months ago | |
| laminas/laminas-hydrator | Laminas Hydrator provides flexible strategies to hydrate and extract data between objects and arrays. Supports reflection, class methods, naming strategies, and custom hydrators, making it easy to map entities, DTOs, and forms cleanly across your application. | 129 | 132 | 35 | 347K | 13 | 35.2 | 64.2 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-i18n | Laminas I18n provides internationalization tools for Laminas apps, including translation services, locale and pluralization support, and integration with view helpers and validators. Use it to build multilingual, locale-aware PHP applications. | 78 | — | 38 | — | 17 | 27.5 | 11.2 | BSD-3-Clause | 3 months ago | |
| laminas/laminas-mvc | Laminas MVC is a modular, event-driven MVC framework for PHP applications. It provides routing, controllers, view integration, dependency injection, and configuration management, helping you build scalable, maintainable web apps and APIs on top of Laminas components. | 172 | 174 | 61 | 527K | 24 | 34.5 | 70.1 | BSD-3-Clause | 1 year ago | |
| laminas/laminas-paginator | Laminas Paginator provides flexible pagination for PHP apps, with adapters for arrays, iterators, and database results. Generate page ranges and navigation data, and integrate with Laminas MVC or use standalone for paged listings. | 24 | 25 | 20 | 148K | 1 | 27.7 | 62.2 | BSD-3-Clause | 4 months ago | |
| laminas/laminas-router | Laminas Router provides flexible HTTP routing for PHP apps. Build routes from config or code, match incoming requests to controllers/handlers, and assemble URLs from route names and parameters. Supports segment, literal, regex, and more route types. | 35 | — | 16 | — | 15 | 25.5 | 8.1 | BSD-3-Clause | 1 month ago | |
| laminas/laminas-serializer | Serialize and deserialize PHP data using multiple adapters (e.g., PHP native, JSON, XML, WDDX) with consistent options, error handling, and extensibility. Useful for caching, sessions, message payloads, and storage across different formats. | 34 | 34 | 20 | 132K | 2 | 26.7 | 61.2 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-servicemanager | Powerful dependency injection and service container for PHP. Manage factories, abstract factories, delegators, aliases, and shared services, with PSR-11 interoperability and robust configuration for complex applications. | 159 | 161 | 61 | 1M | 13 | 36.6 | 72.5 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-stdlib | Utility components for PHP from the Laminas project: data structures, array and string helpers, hydrators, validators, option objects, and more. A shared toolbox used across Laminas and usable standalone in any PHP application. | 235 | 232 | 46 | 2M | 8 | 34.2 | 68.2 | BSD-3-Clause | 5 months ago | |
| laminas/laminas-validator | Laminas Validator provides flexible, reusable validation rules for PHP applications. Includes built-in validators, input filtering/validation chains, and tools for validating common data types like emails, URLs, numbers, strings, and more. | 155 | 160 | 61 | 989K | 16 | 36.5 | 69.0 | BSD-3-Clause | 1 month ago | |
| laminas/laminas-view | Laminas View provides a flexible view layer for PHP applications, offering template rendering, view models, helpers, and multiple rendering strategies. Integrates with Laminas MVC and works standalone to manage layouts, partials, and output generation. | 75 | — | 44 | — | 1 | 22.0 | 0.5 | BSD-3-Clause | 4 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 | |
| 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 | |
| mayflower/mo4-coding-standard | PHP_CodeSniffer ruleset for the MO4 coding standard. Extends Symfony’s standard with extra sniffs for array formatting (alignment, multiline rules), property docblocks (@var), and lexicographically sorted use statements (configurable ordering). | 17 | 17 | 10 | 7K | 2 | 25.9 | 43.4 | MIT | 3 weeks ago | |
| nicmart/tree | A lightweight, flexible tree data structure for PHP. Provides NodeInterface/Node implementations with parent/child management, leaf/child checks, and easy child add/remove/set operations. Includes fluent builder classes to assemble trees quickly. | 574 | 586 | 63 | 593K | 5 | 31.0 | 53.5 | MIT | 4 months 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 | |
| phpyh/psalm-tester | Run and compare Psalm static analysis results across versions and configurations. Handy for CI, regression checks, and testing plugin or baseline changes, with simple CLI tooling to spot new issues or verify improvements quickly. | 2 | — | 1 | — | 1 | 20.2 | — | MIT | 2 years ago | |
| redaxo/source | REDAXO is an easy-to-learn, multilingual website framework/CMS with custom modules for full control over input and output. Simple yet flexible since 2004, highly extendable and adaptable to your workflow, backed by an active community and solid docs. | 346 | 345 | 116 | 345 | 99 | 54.5 | 36.0 | NOASSERTION | 1 week 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 | |
| vimeo/psalm | Psalm is a powerful PHP static analysis tool that finds type errors and bugs before runtime. Install via Composer, configure for your codebase, and run it locally or try the live demo at psalm.dev. Docs and integrations available for teams and CI. | 5,824 | 5,839 | 699 | 1M | 1,886 | 90.5 | 66.6 | MIT | 3 weeks 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?