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

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.
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
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin