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 Enum Laravel Package

timeweb/phpstan-enum

PHPStan extension for PHP enums. Provides additional rules and type inference to catch invalid enum values and comparisons, improve static analysis around backed/unit enums, and surface enum-related bugs early in CI.

View on GitHub
Deep Wiki
Context7
v4.0.0
v3.1.0
  • Add duplicated Enum values in the same class rule
  • Add documentation about usage of phpstan/extension-installer
  • [Internal] Add test with PHP 8.1 & 8.2
  • [Internal] Improve CI stability
v3.0.0
v2.3.1

Support development workflow with docker and make.

v2.3.0
v2.2.4

Added compatibility with PHP 8

v2.2.3

Added compatibility with PHP 8 (#15)

v2.2.2
v2.2.1
v2.2.0
v2.1.0
v2.0.1

Fixes:

  • Fix data return by EnumMethodReflection::getVariants: FunctionVariant[] instead empty array (@jdecool)
v2.0.0

Improvements

Support phpstan ^0.10

BC breaks

Remove support for PHP 7.0

v1.2.0

Allow PHPStan 0.8 and 0.9.

v1.1.0
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
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata