Releases: sourceboat/laravel-enumeration
Releases · sourceboat/laravel-enumeration
3.1.1
Changed
- Laravel 9 Support #45
- fixing test namespaces #24
- Exclude tests and configs from package installation #49
Dependency updates
- bump slevomat/coding-standard to 7.0.12 #38
- Update slevomat/coding-standard requirement from 7.0.14 to 7.1 #48
3.1.0
Added
- now supporting the installation for PHP 8 bc93ffd
Removed
- dependency on
eloquent/enumeration
#23
- dev dependency on
consistence/coding-standard
bc93ffd
3.0.0
Added
Changed
- Updated dev dependencies #18 #17 #16
- updated branch alias for master branch #20
Removed
- Dropped support for Laravel versions lower than 8 #19 #20
CHANGELOG.md
7e847e7
2.1.0
Added
- Implementation of the
Castable
interface of Laravel 7.5
2.0.0
Added
- Laravel 7.x support
- Laravel 7 custom casts
Configurable
-trait for enums
Changed
- Dropped Support for version of Laravel lower than 7.0
- Dropped Support for versions of PHP lower than 7.3
- Removed
HasEnums
-trait in favor of custom casts
- Removed possibility to set weight path by static property to prevent notices when accessing undefined properties
1.3.0
Added
Changed
- various fixes regarding the readme
1.2.2
Changed
- fix laravel dependency version notation
1.2.1
Changed
- update orchestral/testbench and phpunit
1.2.0
Changed
__toString
has proper return type hint
- Dependencies now properly allow laravel 5.7+
Added
is(EnumValue)
method to Enumeration
#2
is<EnumValue>()
methods to Enumeration
via __call
#2
1.1.0
Fixed
- the
lint:phpmd
-script no longer searches for a non existing directory
- localization for the
EnumerationValue
-message
Changed
__toString
now returns the value and not the key of the member
Added
defaultMember
method to Enumeration
HasEnums
trait for laravel models