Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpstan Phpunit Laravel Package

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
voku/phpstan-rules 0.88 Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). 33 33 1 2K 1 0.4 25.7 MIT
View on GitHub
Context7
phpstan/phpstan-mockery 0.87 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
View on GitHub
Context7
phpstan/phpstan-webmozart-assert 0.87 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
View on GitHub
Context7
shipmonk/phpstan-dev 0.86 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.3 45.3 MIT 4 months ago
View on GitHub
Context7
phpstan/phpstan-symfony 0.86 PHPStan extension for Symfony that improves static analysis with precise return types and framework-specific rules. Understands container/services, parameters, controllers, request/headers, serializer, forms, messenger handlers, cache callbacks, config tree builders, and more. 788 791 101 2M 61 53.6 81.5 MIT 2 weeks ago
View on GitHub
Deep Wiki
Context7
contributte/phpstan 0.85 Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. 1 2 2 3K 0 13.5 49.3 MIT 5 months ago
View on GitHub
Context7
thecodingmachine/phpstan-safe-rule 0.85 PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. 62 62 25 227K 3 15.8 53.4 6 months ago
View on GitHub
Context7
phpstan/phpstan-beberlei-assert 0.84 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
View on GitHub
Context7
phpstan/phpstan 0.84 PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. 13,968 14,039 951 9M 1,051 93.7 72.2 MIT 1 week ago
View on GitHub
Deep Wiki
Context7
localheinz/phpstan-rules 0.83 Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. 453 451 24 783 6 27.6 10.2 MIT 4 months ago
View on GitHub
Context7
phpstan/phpstan-doctrine 0.82 668 669 120 2M 78 55.9 84.2 MIT 1 week ago
View on GitHub
Context7
slam/phpstan-extensions 0.82 PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. 71 71 13 35K 2 30.0 43.9 MIT 2 weeks ago
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope