1. Go to this page and download the library: Download m18/profitbase 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/ */
m18 / profitbase example snippets
namespace M18\Tools\Data\Profitbase;
use M18\Profitbase\Handlers\XML;
use M18\Profitbase\Models\Result\Data as ResultData;
final class Handler extends XML
{
public function getData($resultModel = null, bool $get_values = true): ResultData
{
$resultModel = parent::getData($resultModel, $get_values);
return $resultModel;
}
}