PHP code example of mrfelipemartins / oxide-laravel
1. Go to this page and download the library: Download mrfelipemartins/oxide-laravel 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/ */
public function oxideLaneKey(): ?string
{
return 'account:' . $this->accountId;
}
public function oxidePriority(): int
{
return 10;
}
public function oxideHeaders(): array
{
return ['tenant_id' => (string) $this->tenantId];
}