Session::put('key', 'value');
session(['key' => 'value']);
Session::put('variableName', $value);
session()->put('telegram_login', false);
Session::get('variableName');
session(['variableName' => $value]);
$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]);