laravel get header from request
snippet in php

laravel get header from request

user1762

public function yourControllerFunction(\Illuminate\Http\Request $request)
{
    $header = $request->header('Authorization');

    // do some stuff
}