Skip to content

Releases: davidianbonner/enumerated

v7.0.0

16 May 13:39
78da46f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.0...v7.0.0

v6.0.0

20 May 10:57
Compare
Choose a tag to compare

Full Changelog: 5.0.2...v6.0.0

  • Laravel 10 support

5.0.2

31 Mar 16:43
fd6d799
Compare
Choose a tag to compare
Merge pull request #6 from davidianbonner/feature/validate-enums

update to add exists function

v5.0.1

31 Mar 14:28
fd6d799
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.0...v5.0.1

v5.0.0

24 Feb 19:33
cf91656
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.0.1...v5.0.0

4.0.1

17 Feb 17:17
ebb9e7a
Compare
Choose a tag to compare

Support PHP 8

4.0.0

28 Nov 21:48
Compare
Choose a tag to compare

Removes the transformation of _ to - in the enum values. It's advised that you create your enum.php lang file like so:

<?php

return [
    'role' => [
        Role::ADMIN => 'Admin',
        Role::APP_USER => 'User',
    ],
];

In v3, Role::ofType(Role::APP_USER)->line() would have looked for enum.role.app-user which would not of matched using the const reference above.

3.0.3

25 Apr 12:19
Compare
Choose a tag to compare

Enable Laravel auto discovery.

3.0.2

23 Apr 12:06
b5160d4
Compare
Choose a tag to compare
Update EnumeratedServiceProvider.php

Language line mapping

23 Apr 06:19
29417f9
Compare
Choose a tag to compare
Merge pull request #3 from keironAlgomas/feature/selectable-enums

Added drone file and selectable enums