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

Php Enum Phpstan Laravel Package

marc-mabe/php-enum-phpstan

PHPStan extension for marc-mabe/php-enum. Teaches PHPStan about enum accessor methods and allowed values so static analysis understands your enumerations and catches invalid usage. Install with Composer and include the provided extension.neon.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
marc-mabe/php-enum 0.87 Native PHP enum implementation via an abstract base class. Extend it to define enumerations from public constants (supports scalars, null, and arrays), create and compare enum instances, and keep a strict set of named values for safer domain modeling. 498 505 35 5M 1 16.3 56.5 BSD-3-Clause 10 months ago
View on GitHub
Deep Wiki
Context7
prinsfrank/enums 0.86 2 2 1 51K 0 1.8 55.3 MIT 1 year ago
View on GitHub
Context7
timeweb/phpstan-enum 0.86 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. 44 44 7 53K 1 5.1 42.4 MIT 1 year ago
View on GitHub
Context7
laudis/typed-enum 0.86 4 4 0 29K 0 0.0 52.1 MIT
View on GitHub
Context7
henzeb/enumhancer-ide-helper 0.86 Laravel IDE helper for enhanced PHP enums. Improves autocompletion and type hints for Enumhancer features in PhpStorm and similar IDEs, generating stubs/metadata so enum methods, cases, and helpers are easier to discover and use. 0 0 0 3K 0 0.3 47.8 AGPL-3.0 3 years ago
View on GitHub
Context7
paillechat/php-enum 0.85 PHP 7+ enum library: define enums by extending Enum and declaring constants, then instantiate via static named calls (IssueType::ONE()). Instances are strict-equal singletons, work with in_array/type hints, and can convert to/from names. 16 17 3 508 0 2.0 20.6 MIT 7 years ago
View on GitHub
Context7
archtechx/enums 0.85 Modern PHP enum helpers: casting, validation, labels, and convenience methods for native enums. Add common patterns like options arrays, random values, and comparisons to make enums easier to use across Laravel apps and APIs. 566 568 23 597K 2 7.0 42.0 MIT 1 year ago
View on GitHub
Context7
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