shipmonk/name-collision-detector
Fast CLI tool to detect duplicate names in PHP code: classes, interfaces, traits, enums, functions, and constants defined multiple times in the same namespace. Scans thousands of files in seconds, supports config/excludes, exits non-zero on collisions.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| infection/infection | Infection is a PHP mutation testing framework that measures how well your tests detect small code changes. Run it in CI to get a Mutation Score Indicator (MSI), uncover weak assertions, and improve test quality. PHP 8.3+. | 2,202 | 2,213 | 183 | 751K | 165 | 66.3 | 68.3 | BSD-3-Clause | 2 weeks ago | |
| phpstan/phpstan-beberlei-assert | PHPStan extension for beberlei/assert. Adds improved static analysis and type inference for Assert::that and related assertions, helping PHPStan understand refined types after checks and reducing false positives in codebases using beberlei/assert. | 0 | 44 | — | 106K | — | 13.6 | 50.1 | — | — | |
| phpstan/phpstan-deprecation-rules | — | 454 | 457 | 25 | 3M | 17 | 27.8 | 67.2 | MIT | 3 months ago | |
| phpstan/phpstan-doctrine | — | 668 | 669 | 120 | 2M | 78 | 55.9 | 84.2 | MIT | 1 week ago | |
| phpstan/phpstan-mockery | PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis. | 104 | 104 | 24 | 984K | 9 | 9.6 | 57.2 | MIT | 1 year ago | |
| phpstan/phpstan-nette | PHPStan extension for Nette Framework. Improves type inference for components, DI container, forms, presenters/sessions, Html dynamic methods, SmartObject magic properties, events, and regex-based Strings utilities. Includes optional Nette-specific rules. | 118 | 119 | 44 | 282K | 6 | 27.2 | 57.5 | MIT | 3 months ago | |
| phpstan/phpstan-phpunit | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 531 | 534 | 56 | 3M | 35 | 38.6 | 74.3 | MIT | 3 months ago | |
| phpstan/phpstan-strict-rules | Opinionated extra rules for PHPStan to enforce strict, strongly typed PHP. Catches loose booleans in conditions, unsafe strict parameters, useless casts, non-numeric arithmetic, variable overwrites in loops, and switch/case type mismatches for safer defensive code. | 697 | 707 | 61 | 3M | 39 | 45.4 | 73.6 | MIT | 1 month ago | |
| phpstan/phpstan-webmozart-assert | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 184 | 184 | 33 | 649K | 6 | 12.6 | 50.5 | MIT | 1 year ago | |
| shipmonk/coding-standard | ShipMonk’s PHP_CodeSniffer ruleset for consistent PHP style across ShipMonk packages. Install via Composer, add a phpcs.xml.dist pointing to ShipMonkCodingStandard, then run phpcs to check and phpcbf to auto-fix issues. | 1 | 1 | 1 | 9K | 0 | 17.9 | 57.4 | MIT | 2 months ago | |
| shipmonk/composer-dependency-analyser | Fast, zero-dependency tool to analyze Composer dependencies. Detects unused, shadowed, and misplaced packages/extensions by scanning your autoload paths. Works out of the box, highly configurable, and very performant (15k files in ~2s). Compatible with PHP 7.2–8.5. | 617 | 619 | 14 | 537K | 17 | 23.9 | 50.5 | MIT | 6 months ago | |
| shipmonk/coverage-guard | Enforce PHP code coverage in CI by targeting specific core methods/blocks instead of overall %. Legacy-friendly: enforce only new/changed code via git patch. Lightweight (nikic/php-parser), extensible rules, easy CLI to check PHPUnit Clover reports. | 54 | 55 | 0 | 10K | 0 | 12.9 | 34.6 | MIT | 5 months ago | |
| shipmonk/dead-code-detector | PHPStan extension that detects and helps remove unused PHP code. Finds dead methods/properties/constants/enum cases, dead cycles and transitive dead members, even dead tested code. Supports popular frameworks like Symfony and is configurable via usage providers. | 472 | 470 | 22 | 438K | 7 | 36.3 | 51.7 | — | 2 weeks ago | |
| shipmonk/phpstan-baseline-per-identifier | Split a PHPStan baseline into multiple NEON files grouped by error identifier, with a loader include. Generate baseline as usual, then run split-phpstan-baseline to organize ignores per identifier for easier reviews and maintenance. | 93 | 95 | 4 | 215K | 1 | 14.2 | 50.7 | — | 5 months ago | |
| shipmonk/phpstan-dev | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 7K | 0 | 15.4 | 45.3 | MIT | 4 months ago | |
| shipmonk/phpstan-rules | 40 super-strict PHPStan rules from ShipMonk to plug gaps in extra-strict setups. Install via Composer, include rules.neon, then enable/disable or tune rules per-project. Targets tricky PHP edge cases like unsafe comparisons, casts, arrays, enums and more. | 152 | 154 | 24 | 139K | 1 | 31.1 | 49.3 | — | 2 weeks ago |
How can I help you explore Laravel packages today?