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

Type Perfect Laravel Package

rector/type-perfect

Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables strategic investment in code quality by providing automated, incremental type safety improvements without requiring full codebase refactoring.
  • Validates "buy vs. build" decisions by offering pre-built, battle-tested PHPStan rules that eliminate the need to develop custom type-checking logic.
  • Supports roadmap prioritization for technical debt reduction, as it targets high-impact issues (e.g., null/false misuse, mixed types) that cause runtime errors and debugging overhead.
  • Drives consistency in type declarations across legacy and new code, reducing onboarding friction for new developers and accelerating feature delivery through fewer type-related regressions.

When to Consider This Package

Adopt when your project uses PHPStan and has loose type declarations (e.g., mixed, null/false

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
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
twbs/bootstrap4