vandyczech
4 months ago
15
11
Laravel

Add item to session array

Posted 4 months ago by vandyczech

I need store array with id in the session like this

Output for session()->all()['hidden']

1 , 2 , 3 , 4 , 5 ....

How can I add new id to the exist hidden array in session ?

Please sign in or create an account to participate in this conversation.