PHP code example of gbro115 / gloriafood-php

1. Go to this page and download the library: Download gbro115/gloriafood-php 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/ */

    

gbro115 / gloriafood-php example snippets



hKey = "SOURCED_FROM_WEB_APP";

$api = new \GloriaFood\GloriaFood($authKey);
$result = $api->fetchMenu()->fetchMenu();
print_r($result);
json
{
    "bro115/gloriafood-php": "<your-