Category: Laravel

Take a look at this link in Laravel 5.8. As you see, there is a bearerToken() method on the Illuminate\Http\Request object, which gets the bearer token from the request headers. (bearerToken() is available from Laravel version 5.2).

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Community Partners