1. Go to this page and download the library: Download mmerlijn/msg-repo 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/ */
mmerlijn / msg-repo example snippets
composer
$order->addComment("comment")->addComment("Comment 2");
$order->addRequest($request)->addRequest($otherRequest);
$order->addResult($result);
$patient->setName($name)
->setAddress($address)
->setPhone("0612341234");
$order->getRequestedTestcodes(); //return all requested testcodes as array
$order->filterTestCodes(string|array); //filters requests and results with given test_code
$msg->toArray();
$msg->toArray(true);
$msg = new Msg(...$array);
//or
$msg = (new Msg)->fromArray($array);