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

Phpunit Enum Laravel Package

tourze/phpunit-enum

A PHPUnit helper package for testing PHP enums, offering convenient assertions and utilities to validate enum cases, values, and behavior in your test suite.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
cerbero/laravel-enum 0.86 Cerbero Laravel Enum adds type-safe enum classes to Laravel, with validation rules, model casting, and helper methods for labels and values. A clean way to replace scattered constants with organized, reusable enum objects. 189 190 19 3K 0 1.5 16.2 MIT —
View on GitHub
frostiede/enum-bundle 0.86 A Symfony bundle that simplifies working with PHP enums, providing integration helpers and utilities to use enum types more cleanly across your application. Ideal for projects adopting PHP 8.1+ enums with Symfony. 0 0 0 0 0 0.0 — — —
View on GitHub
yokai/enum-bundle 0.86 Yokai Enum Bundle adds practical PHP 8.1 enum support: register enum types, expose choices in forms, validate values, and convert between enums, scalars, and database values through configurable services. 12 13 5 853 0 0.1 17.8 MIT 1 year ago
View on GitHub
elao/enum 0.85 Opinionated extensions for PHP 8.1+ native enums with readable labels, flag/bitmask enums, and extra values. Includes integrations for Symfony (Forms, HTTP Kernel arg resolver, Translation, VarDumper), Doctrine ORM/ODM, and Faker. 327 327 29 46K 15 25.0 37.3 MIT 6 months ago
View on GitHub
tourze/enum-extra 0.85 Enum Extra is a lightweight PHP package that extends native enums with practical helpers for labels, values, options, and Laravel-friendly validation rules. It cuts boilerplate in enum-driven forms, select lists, APIs, and config while keeping code readable, consistent, and easy to maintain. 0 0 0 737 0 0.7 39.8 MIT 11 months ago
View on GitHub
Context7
timeweb/phpstan-enum 0.85 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 62K 1 5.1 43.4 MIT 1 year ago
View on GitHub
azimkordpour/power-enum 0.85 Power Enum enhances native PHP enums for Laravel with convenient helpers for labels, validation rules, Eloquent casts, and value comparisons, making status and type fields safer, more consistent, and easier to use across your application. 41 41 0 2K 0 0.2 22.3 MIT 1 year ago
View on GitHub
php-extended/placeholder-phpunit 0.85 A placeholder package for PHPUnit in php-extended projects. It provides minimal stubs so libraries can reference PHPUnit types without a hard dependency, keeping production installs lean while remaining compatible when PHPUnit is present. 0 0 — 805 — 0.0 40.1 — —
View on GitHub
chadsikorra/php-simple-enum 0.85 A lightweight, dependency-free enum implementation for PHP. Define constant sets with helper methods for validation, value lookup, and comparison, useful where native enums aren't available. Simple API that's easy to drop into existing projects. 11 — 0 — 0 0.1 — MIT —
bensampo/laravel-enum 0.85 Laravel Enum provides a powerful enum implementation for Laravel with class-constant definitions, instantiation, casting, validation, localization, bitwise/flag enums, and an artisan generator. Not recommended for new projects—use native PHP 8.1 enums. 2,028 2,042 157 505K 1 15.0 33.1 MIT —
View on GitHub
quantumtecnology/enum-basics-extension 0.85 An extension for the enum-basics package that adds extra helpers and utilities for PHP and Laravel enums. It simplifies common enum tasks such as value lookup, labeling, comparison, and conversion, giving you a clean, consistent API for everyday enum handling. 1 1 0 743 0 0.0 35.5 MIT —
View on GitHub
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. 567 568 23 597K 2 6.9 41.6 MIT 1 year ago
View on GitHub
Context7
sebastian/peek-and-poke 0.85 sebastian/peek-and-poke is a small PHP utility that uses reflection to peek at and poke into objects. It lets you read and write private and protected properties, making it handy for tests that need to inspect or set up object state without changing production code. 36 34 8 117 1 0.3 6.0 NOASSERTION —
View on GitHub
marc-mabe/php-enum-phpstan 0.85 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. 12 12 6 9K 0 2.6 39.3 BSD-3-Clause 1 year ago
View on GitHub
daverandom/enum 0.84 Lightweight PHP enum base class: extend a single abstract class and define members as constants. Includes static helpers to validate and resolve enum names and values. Useful for simple, shared enum functionality. 0 0 0 1 0 0.3 4.2 MIT 8 years ago
View on GitHub
spatie/enum 0.84 Obsolete: PHP 8.1+ has native enums (recommended). Spatie Enum provides strongly typed, object-based enums for older PHP versions, enabling IDE-friendly static analysis and refactoring. Define enums via @method annotations and call StatusEnum::draft(). 854 857 67 2M 0 15.3 46.3 MIT 4 years ago
View on GitHub
Context7
kongulov/interact-with-enum 0.84 Interact with PHP enums the Laravel way. This lightweight package adds convenient helpers for backed enums so you can compare, validate, and convert values cleanly in application code and validation rules, keeping enum handling expressive and simple. 30 — 0 — 0 0.2 — MIT 1 year ago
lazerg/laravel-enum-pro 0.84 Laravel Enum Pro enhances PHP enums for Laravel with validation rules, Eloquent casts, labels, descriptions, and localization. Build select options and display human-friendly enum values in forms, APIs, and Blade views with less boilerplate. 43 — 2 — 1 0.4 — — —
View on GitHub
sakanjo/laravel-easy-enum 0.84 Simplify PHP enums in Laravel with sakanjo/laravel-easy-enum. This lightweight package provides helpers for labels, values, options, validation rules, and Eloquent/Blade integration, reducing boilerplate and keeping enum-driven code clean and readable. 10 — 0 — 0 12.4 — MIT 5 months ago
View on GitHub
dive-be/php-enum-utils 0.84 Utilities for PHP 8.1+ enums in Laravel: convert enum cases to arrays, values, options, and labels for forms and APIs, compare and inspect cases, and cut boilerplate with a small, dependency-free helper set that makes working with native enums painless in everyday application code. 31 — 0 — 0 4.6 — MIT 9 months ago
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource