PHP code example of kinare / sigma
1. Go to this page and download the library: Download kinare/sigma 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/ */
kinare / sigma example snippets
\KTL\Sigma\Providers\SigmaServiceProvider::class;
Sigma::request('proivider', 'entity', [payload], 'method');
$res = Sigma::request('MAGNOLIA', 'refereeEntity', ['$filter' => "ProfileID eq '976I7C'"]);
$data = [
"ProfileID" => "976I7C",
"Name" => "Testing Post res",
"Address" => "The address",
"Email" => "[email protected] ",
"PhoneNo" => "4789252996",
"PlaceOfWork" => "Lubdaal Inc.",
"designation"=> "4090351720724285",
"EntryNo" => 1
];
$res = Sigma::request('MAGNOLIA', 'refereeEntity', $data, 'post');
$data = [
"ProfileID" => "976I7C",
"Name" => "Testing patch res",
"Address" => "The addressssss",
"Email" => "[email protected] ",
"PhoneNo" => "478925sd2996",
"PlaceOfWork" => "Lubdaal Indc.",
"designation"=> "4090351720724285",
"LineNo"=> 1000,
];
$res = Sigma::request('MAGNOLIA', 'refereeEntity', $data, 'patch');
$data = [
"ProfileID" => "976I7C",
"Name" => "Testing patch res",
"Address" => "The addressssss",
"Email" => "[email protected] ",
"PhoneNo" => "478925sd2996",
"PlaceOfWork" => "Lubdaal Indc.",
"designation"=> "4090351720724285",
"LineNo"=> 1000,
];
$res = Sigma::request('MAGNOLIA', 'refereeEntity', $data, 'delete');
$res = Sigma::request('MEMBERSHIPMANAGER', 'getProfomaInvoice', ['applicationNo' => "APP000033"], 'CU');
$schedule->command('sigma:sync')->hourly();
shell
php artisan vendor:publish --provider=kinetics254\Sigma\Providers\SigmaServiceProvider
shell
php artisan migrate