- Added support for simple types recognized by the
get_debug_type()
function.
- Added support for Laravel 11 (#21)
- Dropped support for Laravel 9
- Added a new
typedCollect()
helper method, based off thecollect()
helper method that comes with the Laravel framework. (#20)
- Added support for Laravel 10
- The
TypedCollection
andLazyTypedCollection
classes are now abstract to make clear that they shouldn't be instantiated directly (#13)
- Collections now includes the same template typings as the upstream Illuminate collections
- Collections are now untyped when using the
map()
method.
- Add support for Laravel ^9.0
- Drop support for Laravel <9.0
- This library is now based on
illuminate/collections
and tested with PHP 7.4 and 8.0
- Fixed
TypedCollection::push()
(#7)
- Add support for Laravel ^7.0
- Drop support for Laravel <7.0
- Replace forced installation of tightenco/collect with information on how to integrate
- Declare incompatibility with Laravel >=7.0
- The
pluck()
method didn't work as expected (#4) - The
keys()
method didn't work as expected
- Added support for arrayable items (#3)
- Added
LazyTypedCollection
- Ensured support for Laravel/Illuminate
^5.4|^6.0
- Added method
untype()
to return an untyped collection - Removed override of
map()
to support working with an untyped collection (useuntype()
instead)
Initial release