codewithkyrian/laravel_position (packagist): A simple extensible laravel collection macro that evaluates the position or ranking of items in a collection and appends the position to each item with a key of your choice.
Keywords: laravel|CodeWithKyrian|laravel-position