PHP code example of reedware / laravel-api
1. Go to this page and download the library: Download reedware/laravel-api 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/ */
reedware / laravel-api example snippets
\Reedware\LaravelApi\ApiServiceProvider::class // Service Provider
\Reedware\LaravelApi\Facade::class // Facade
Api::connection('api-name')->request()->url('my/endpoint')->post([
'my-form-data' => 'with-values'
]);