Weave 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 Beberlei Assert Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Excellent. Designed as a PHPStan extension leveraging its plugin system to enhance static analysis without modifying core functionality. Integrates seamlessly into existing PHPStan workflows by extending type inference capabilities for beberlei/assert calls.
Integration feasibility: High. Composer-based installation (via composer require --dev phpstan/phpstan-beberlei-assert) and minimal configuration (adding extensions: - phpstan/phpstan-beberlei-assert to phpstan.neon). No code changes required in application logic.
Technical risk: Low to medium. Low risk due to focused scope and MIT license, but potential risks include:

  • Limited community testing (43 stars) may hide edge-case bugs
  • Future beberlei/assert API changes could break compatibility (though common patterns are well-defined)
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.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc