use Illuminate\Support\Facades\Session; Session::push('key', 'value1'); Session::push('key', 'value2');In this example, we are pushing two values into an array with the key 'key' in the session. Package Library: Laravel Framework Explanation: The Session facade is part of the Laravel Framework's Illuminate\Support\Facades package, which provides a simplified interface to various Laravel services. The push method is a convenient way to add values to an array stored in the session.