PHP code example of biila-go / laravel-api-wrapper

1. Go to this page and download the library: Download biila-go/laravel-api-wrapper 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/ */

    

biila-go / laravel-api-wrapper example snippets


use BiilaGo\LaravelApiWrapper\Facades\BiilaGoApi;

$reservations = BiilaGoApi::getReservations()->json();
// OR
$reservations = BiilaGoApi::get('reservations')->json();

use BiilaGo\LaravelApiWrapper\Facades\BiilaGoApi;

$reservation = BiilaGoApi::getReservation('R-1')->json();
// OR
$reservation = BiilaGoApi::get('reservations/R-1')->json();