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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle