1. Go to this page and download the library: Download m1guelpf/satis-api 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/ */
m1guelpf / satis-api example snippets
php
$satis = new \M1guelpf\SatisAPI\Satis('URL_TO_YOUR_SATIS_INSTANCE');
php
$satis = new \M1guelpf\SatisAPI\Satis;
$satis->url('URL_TO_YOUR_SATIS_INSTANCE');
php
$satis = new \M1guelpf\SatisAPI\Satis('URL_TO_YOUR_SATIS_INSTANCE', $headers);
// or
$satis->headers($headers);
php
$satis->getPackages();
php
$satis->getComposer();
php
$satis->getIncludes();
php
$satis->getCustom($relativeUrl, $parameters);
php
$satis->getClient();
php
$client = new \GuzzleHttp\Client(); // Example Guzzle client
$satis->setClient($client);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.