src/Helper.php
public static function getCurrentAppKey(Request $request = null)
    {
        $request = $request ?: app('request');

        return $request->attributes->get(static::CURRENT_APP_KEY);
    }
public static function getCurrentAppKey(Request $request = null)
    {
        $request = $request ?: app('request');

        return $request->attributes->get(static::CURRENT_APP_KEY);
    }
Get the app key of the current api client.

@param  \Illuminate\Http\Request|null  $request
@return string|null