An open API service for providing issue and pull request metadata for open source projects.

GitHub / BenSampo/laravel-enum issues and pull requests

#363 - Support Laravel 12 and Rector 2

Pull Request - State: closed - Opened by spawnia 5 months ago - 1 comment
Labels: enhancement

#362 - Laravel 12 support

Issue - State: closed - Opened by Pok09 5 months ago
Labels: enhancement

#361 - Support Laravel 12

Pull Request - State: closed - Opened by ahmedbally 5 months ago - 6 comments

#360 - How do I dependency Inject in Livewire?

Issue - State: closed - Opened by Umar-Khan-Yousafzai 9 months ago - 1 comment

#359 - Fix conversion of `in()` and `notIn()` to native enums when called with non-arrays

Pull Request - State: closed - Opened by spawnia 11 months ago
Labels: bug

#358 - Fix changelog for 6.11.0

Pull Request - State: closed - Opened by spawnia over 1 year ago

#357 - Upgrade to laravel 11

Issue - State: closed - Opened by curkan over 1 year ago

#356 - Handle NeverType when converting to native enums

Pull Request - State: closed - Opened by spawnia over 1 year ago
Labels: bug

#355 - False positive when converting to native enums

Issue - State: closed - Opened by atymic over 1 year ago - 4 comments
Labels: bug

#354 - Error when converting enums using the rector command

Issue - State: closed - Opened by atymic over 1 year ago - 1 comment

#353 - Support Laravel 11

Pull Request - State: closed - Opened by spawnia over 1 year ago - 4 comments

#352 - Allow installation alongside PHPUnit 11

Pull Request - State: closed - Opened by spawnia over 1 year ago

#351 - Using this library is no longer recommended

Pull Request - State: closed - Opened by spawnia over 1 year ago

#349 - Add conversion of `Enum::hasValue()` to native enum

Pull Request - State: closed - Opened by spawnia over 1 year ago

#348 - Dump phpunit/phpunit to v11

Issue - State: closed - Opened by websitevirtuoso over 1 year ago - 1 comment
Labels: enhancement

#347 - Installation problem

Issue - State: closed - Opened by YevheniiVolosiuk over 1 year ago - 2 comments

#346 - Can't install on php8.3.1

Issue - State: closed - Opened by MmKargar over 1 year ago - 4 comments

#345 - Make `php artisan enum:to-native` compatible with rector `0.19`

Pull Request - State: closed - Opened by spawnia over 1 year ago

#344 - Document comparison

Pull Request - State: closed - Opened by spawnia over 1 year ago

#343 - Add PHPStan rule to detect duplicate enum values

Pull Request - State: closed - Opened by spawnia over 1 year ago
Labels: enhancement

#342 - EnumServiceProvider breaks nova translations

Issue - State: closed - Opened by cweiske over 1 year ago - 3 comments
Labels: needs reproduction

#341 - Enum returns incomparable instances

Issue - State: closed - Opened by petrknap over 1 year ago - 1 comment

#340 - Fix conversion of `Enum::fromKey()` to native enum

Pull Request - State: closed - Opened by spawnia almost 2 years ago

#339 - Fixed the description error of UserType::SuperAdministrator value in README.md

Pull Request - State: closed - Opened by Sy-Dante almost 2 years ago - 1 comment

#338 - Document try/catch in native enum conversion

Pull Request - State: closed - Opened by spawnia almost 2 years ago

#336 - Convert `asArray()` to native enum automatically

Pull Request - State: open - Opened by spawnia almost 2 years ago
Labels: enhancement

#335 - Document migration better

Pull Request - State: closed - Opened by spawnia almost 2 years ago

#334 - Convert single classes in one step with php artisan enum:to-native

Pull Request - State: closed - Opened by spawnia almost 2 years ago

#333 - Disable timeout of rector calls in `php artisan enum:to-native`

Pull Request - State: closed - Opened by spawnia almost 2 years ago

#332 - I am stepping down from feature development

Issue - State: open - Opened by spawnia almost 2 years ago

#331 - Add `$hidden` property to Enums

Issue - State: closed - Opened by TanisukeGoro almost 2 years ago - 1 comment
Labels: enhancement

#330 - Leverage Rector in command enum:to-native

Pull Request - State: closed - Opened by spawnia about 2 years ago

#329 - Convert to native enum usage with Rector

Pull Request - State: closed - Opened by spawnia about 2 years ago
Labels: enhancement

#328 - v6.4.1

Pull Request - State: closed - Opened by spawnia about 2 years ago

#327 - Ensure validation rules are always added

Pull Request - State: closed - Opened by shaffe-fr about 2 years ago
Labels: bug

#326 - validateEnumValue does not exist

Issue - State: closed - Opened by Livijn about 2 years ago - 9 comments
Labels: needs reproduction

#325 - 6.4.0

Pull Request - State: closed - Opened by spawnia about 2 years ago

#324 - Prevent translations to be discarded

Pull Request - State: closed - Opened by shaffe-fr about 2 years ago - 1 comment

#323 - Use php-cs-fixer

Pull Request - State: closed - Opened by spawnia about 2 years ago

#322 - Add command enum:to-native

Pull Request - State: closed - Opened by spawnia about 2 years ago

#321 - Calling translator in boot breaks translation loading

Issue - State: closed - Opened by netpok about 2 years ago - 3 comments
Labels: bug

#320 - Prefer lang over resources/lang

Pull Request - State: closed - Opened by spawnia about 2 years ago

#319 - localization path

Issue - State: closed - Opened by e-rasekh about 2 years ago - 1 comment

#318 - Adding extra Attributes

Issue - State: closed - Opened by e-rasekh about 2 years ago - 4 comments

#317 - v6.3.3

Pull Request - State: closed - Opened by spawnia about 2 years ago

#316 - Use more specific generic type

Pull Request - State: closed - Opened by spawnia about 2 years ago

#315 - allow non-empty-string in hasValue

Pull Request - State: closed - Opened by AlexKratky about 2 years ago - 4 comments
Labels: bug

#314 - add extra attributes

Issue - State: closed - Opened by e-rasekh about 2 years ago - 2 comments
Labels: question

#313 - Remove travis badge from README.md

Pull Request - State: closed - Opened by spawnia about 2 years ago

#312 - Refine EnumAnnotateCommand and release 6.3.2

Pull Request - State: closed - Opened by spawnia about 2 years ago

#311 - Fix `enum:annotate` command issue

Pull Request - State: closed - Opened by tamiroh about 2 years ago
Labels: bug

#310 - `enum:annotate` command breaks existing docblock descriptions

Issue - State: closed - Opened by tamiroh about 2 years ago
Labels: bug

#309 - Avoid translations in the service provider

Pull Request - State: closed - Opened by spawnia about 2 years ago - 1 comment

#308 - Remove registration of pipe-string syntax for validation rules

Pull Request - State: closed - Opened by spawnia about 2 years ago - 1 comment

#307 - Fix tests for latest Laravel 10

Pull Request - State: closed - Opened by spawnia about 2 years ago

#306 - Fix PHPStan after update

Pull Request - State: closed - Opened by spawnia about 2 years ago - 1 comment

#305 - Fix CI failures

Pull Request - State: closed - Opened by tamiroh about 2 years ago - 1 comment

#304 - asSelectArray no return description localization

Issue - State: closed - Opened by moskoweb over 2 years ago - 2 comments

#303 - Support Laravel 10

Issue - State: closed - Opened by hetzner over 2 years ago - 1 comment
Labels: question

#302 - Typehint generic `CastsAttributes`

Pull Request - State: closed - Opened by spawnia over 2 years ago

#301 - Mark `Enum::$key` and `Enum::$description` as non-nullable in `Enum` …

Pull Request - State: closed - Opened by spawnia over 2 years ago

#300 - Prefer assertSame in tests

Pull Request - State: closed - Opened by spawnia over 2 years ago

#299 - Laravel 10.x Compatibility

Pull Request - State: closed - Opened by laravel-shift over 2 years ago - 5 comments

#298 - Support Laravel 10

Pull Request - State: closed - Opened by spawnia over 2 years ago

#297 - 6.2.2

Pull Request - State: closed - Opened by spawnia over 2 years ago

#296 - Fix backtrack error and add Windows EOL support to the annotate command

Pull Request - State: closed - Opened by shaffe-fr over 2 years ago - 2 comments

#295 - 6.2.1

Pull Request - State: closed - Opened by spawnia over 2 years ago

#294 - Fix running `php artisan enum:annotate` on long enum class

Pull Request - State: closed - Opened by mikkoaf over 2 years ago - 2 comments
Labels: bug

#293 - classDeclarationOffset unavailable when content removed with existing docblock

Issue - State: closed - Opened by mikkoaf over 2 years ago - 6 comments
Labels: bug

#292 - Open `EnumServiceProvider` for customization

Pull Request - State: closed - Opened by spawnia over 2 years ago

#291 - Optional enum validaiton.

Issue - State: closed - Opened by AM-thedev over 2 years ago - 1 comment

#290 - phpcs error with "enum" reserved keyword

Issue - State: closed - Opened by bastos71 over 2 years ago - 5 comments

#289 - Spatie Laravel-data cast

Issue - State: closed - Opened by nikrovir over 2 years ago - 2 comments
Labels: question

#288 - PHP 8.1 Enum

Issue - State: closed - Opened by benjaminhull over 2 years ago - 7 comments
Labels: enhancement

#287 - Cast an array of enums

Issue - State: closed - Opened by dimzeta over 2 years ago - 1 comment

#286 - v6.1.0

Pull Request - State: closed - Opened by spawnia almost 3 years ago

#285 - Test enum inheritance

Pull Request - State: closed - Opened by spawnia almost 3 years ago

#284 - Enum method docblock: static vs self

Issue - State: closed - Opened by wimski almost 3 years ago - 1 comment
Labels: question

#283 - Upgrade to PHPStan level 6 and fix flagged enums

Pull Request - State: closed - Opened by spawnia almost 3 years ago
Labels: enhancement

#282 - Enable automatic package discovery from testbench

Pull Request - State: closed - Opened by crynobone almost 3 years ago - 6 comments

#281 - comparison blocks saving

Issue - State: closed - Opened by mihy almost 3 years ago - 2 comments
Labels: needs reproduction

#280 - QueriesFlaggedEnum::hasFlag broke on invalid argument signature

Issue - State: closed - Opened by netpok almost 3 years ago - 1 comment
Labels: bug

#279 - v6.0.0

Pull Request - State: closed - Opened by spawnia almost 3 years ago

#278 - Add generic type `TValue` to `Enum` class

Pull Request - State: closed - Opened by spawnia almost 3 years ago - 2 comments
Labels: enhancement

#277 - Remove `Enum::getInstance()` in favor of `Enum::fromValue()`

Pull Request - State: closed - Opened by spawnia almost 3 years ago

#276 - Generics

Issue - State: closed - Opened by wimski almost 3 years ago - 1 comment
Labels: enhancement

#275 - Feat: getValue using description value

Issue - State: closed - Opened by Phojie almost 3 years ago - 2 comments

#274 - Enum comand

Issue - State: closed - Opened by quockidang95 almost 3 years ago - 2 comments

#273 - Error when running PHPstan on a Model using `QueriesFlaggedEnums` trait

Issue - State: closed - Opened by pacoorozco about 3 years ago - 3 comments
Labels: enhancement

#272 - Fix boolean handling in EnumMethodsClassReflection

Pull Request - State: closed - Opened by szepeviktor about 3 years ago - 1 comment

#271 - Use match in getAttributeDescription

Pull Request - State: closed - Opened by spawnia about 3 years ago

#270 - Allow Description attribute on class

Pull Request - State: closed - Opened by jeremynikolic about 3 years ago - 1 comment
Labels: enhancement

#269 - Use native and strict types

Pull Request - State: closed - Opened by spawnia about 3 years ago - 2 comments
Labels: enhancement

#268 - Require composer/class-map-generator over composer/composer

Pull Request - State: closed - Opened by spawnia about 3 years ago - 2 comments
Labels: bug

#267 - Release 5.3.1

Pull Request - State: closed - Opened by spawnia about 3 years ago

#266 - Validating empty string throws an error

Issue - State: closed - Opened by samiheikki over 3 years ago - 3 comments

#265 - Model annotation generation with laravel-ide-helper broken

Issue - State: closed - Opened by dennis-koster over 3 years ago - 1 comment

#264 - Fix getAttributeDescription() error

Pull Request - State: closed - Opened by PortableSteve over 3 years ago - 1 comment