Releases: davidianbonner/enumerated
Releases · davidianbonner/enumerated
Release list
v8.0.1
Full Changelog: v8.0.0...v8.0.1
v8.0.0
Full Changelog: v7.0.0...v8.0.0
- Laravel 12 support
v4.0.2
Full Changelog: 4.0.1...v4.0.2
- Patch update for 8.3
v7.0.0
v6.0.0
Full Changelog: 5.0.2...v6.0.0
- Laravel 10 support
5.0.2
Merge pull request #6 from davidianbonner/feature/validate-enums update to add exists function
v5.0.1
What's Changed
- update to add exists function by @KeironMcGivern in #6
Full Changelog: v5.0.0...v5.0.1
v5.0.0
4.0.1
4.0.0
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.