PHP code example of equipmentc / laravel-oathello
1. Go to this page and download the library: Download equipmentc/laravel-oathello 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/ */
equipmentc / laravel-oathello example snippets
Oathello::get('Session/xyz');
Oathello::post('Session', $array);
use Equipmentc\Oathello\Session as OathelloSession;
$documents = [...]; (See a document array example below)
$oathelloSession = new OathelloSession;
$oathelloSession->create($documents [, $metadata = null ]);
or the facade
$documents = [...]; (See a document array example below)
OathelloSession::create($documents [, $metadata = null ]);