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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi