nop shift also din work .. is there any chance that the collection is not defined properly .. coz i am getting this with eloquent
and i dont need the first item .. i need rest of the items ..
shift() removes the first item and returns it, so what you have done it assign games to the first item in the collection; whereas the collection contains all of the other elements:
$games = $user->getProjects()->sortByDesc('created_at'); // all of the games
$games->shift(); // removes the first game and returns it
$games->all(); // remaining games
You could also use slice() (per @Hamelraj) or splice() if you wanted to inline it: