//set session
Session::put('sessionName', 'message');
//get session
Session::get('sessionName');
//don't forget to use "use IlluminateSupportFacadesSession;"
Session::put('variableName', $value);
session()->put('telegram_login', false);
$value = Session::get('key');
$value = session('key');
Session::get('variableName');
session(['variableName' => $value]);
php artisan session:table
$data=[
'name' => $request->input('name')
];
session(['data'=>$data]);
$data=Session::get('data');
$data1=[
'email'=>$request->input('email')
];
$data=array_merge( $data, $data1);
session(['data'=>$data]);