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 Safe Rule Laravel Package

thecodingmachine/phpstan-safe-rule

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: PHPStan is a standard static analysis tool in PHP ecosystems. This package extends it with a specific rule, fitting neatly into existing workflows. No architectural changes needed—just a plugin. Good fit for projects using PHPStan already.
Integration feasibility: Low effort to install (composer require, config update). However, repository is listed as "unknown", which raises concerns about accessibility and transparency. If the repo isn't public, it's hard to verify code quality or contribute fixes. Installation steps seem simple, but lack of repo details is a red flag.
Technical risk: Low runtime risk (pure static analysis), but potential for false positives/negatives. Package's future maintenance is uncertain due to low stars (62) and unclear repo. Last release date of 2025

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport