PHP code example of willymaciel / sankhya-php
1. Go to this page and download the library: Download willymaciel/sankhya-php 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/ */
willymaciel / sankhya-php example snippets
$api->logout();
bash
composer
php
WillyMaciel\Sankhya\SwServiceInvoker;
$api = new SwServiceInvoker('http://urldosankhya.com.br:8080/');
$api->login('usuario_sankhya', 'senha');
php
//Realiza uma query (Somente Select)
//Retorna os resultados em uma Collection
$result = $api->dbExplorer('SELECT * FROM TSIUSU');
dump($result);