Downloads
Stars
Version
На основе библиотеки Smart-Http
composer require chocofamilyme/laravel-smart-http
php artisan vendor:publish --provider="Chocofamily\Laravel\SmartHttp\Providers\SmartHttpServiceProvider"
Файл конфигурации находится config/smarthttp.php
Подробная документация по настройкам Smart-Http
app('SmartRequest')->send('POST', '/resource', [
'json' => [
'name' => 'test'
]
]);
Или используя фасады:
SmartRequest::send('POST', '/resource', [
'json' => [
'name' => 'test'
]
]);