Skip to content

Releases: ifornew/enum

V1.0.6

28 Jun 15:58
Compare
Choose a tag to compare

fix EnumKey rule case sensitive

v1.0.5

05 May 01:49
Compare
Choose a tag to compare

Add the jsonserializable support

v1.0.4

11 Oct 13:30
Compare
Choose a tag to compare

add rule of EnumKey

v1.0.3

25 Sep 04:40
Compare
Choose a tag to compare

add except values option to EnumValue rule.

v1.0.2

10 Sep 14:29
Compare
Choose a tag to compare

add rules to enum:EnumValue,use it like this:
$this->validate($request, [
'user_type' => ['required', new EnumValue(UserType::class)],
]);

v1.0.1

19 Jun 04:02
Compare
Choose a tag to compare

add the support to [key=>description] collection output

v1.0.0

31 May 11:07
Compare
Choose a tag to compare

enum for php