PHP code example of chocofamilyme / laravel-smart-http
1. Go to this page and download the library: Download chocofamilyme/laravel-smart-http library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chocofamilyme / laravel-smart-http example snippets
app('SmartRequest')->send('POST', '/resource', [
'json' => [
'name' => 'test'
]
]);
SmartRequest::send('POST', '/resource', [
'json' => [
'name' => 'test'
]
]);
bash
php artisan vendor:publish --provider="Chocofamily\Laravel\SmartHttp\Providers\SmartHttpServiceProvider"