Laravel Get Anfrage in Blade
{{ request()->get('balls') }}
or
{{ \Request::get('balls') }}
Easy Elk
{{ request()->get('balls') }}
or
{{ \Request::get('balls') }}
$client = new GuzzleHttp\Client();
$res = $client->get('https://api.github.com/user', ['auth' => ['user', 'pass']]);
echo $res->getStatusCode(); // 200
echo $res->getBody(); // { "type": "User", ....
// console command
php artisan make:request FileNameRequest