Answers for "set variable in session laravel"

PHP
1

set session data in laravel

Session::put('key', 'value');

session(['key' => 'value']);
Posted by: Guest on September-24-2020
0

set session in laravel

session(['variableName' => $value]);
Posted by: Guest on February-13-2021

Code answers related to "set variable in session laravel"

Browse Popular Code Answers by Language