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 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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui