1. Go to this page and download the library: Download yetiforce/yetiforce-portal 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/ */
yetiforce / yetiforce-portal example snippets
/** List of active services. Available: dav, webservice */
public static $enabledServices = [ 'webservice'];
/** [WebServices/API] Show exception messages in response body */
public static $apiShowExceptionMessages = true;
/** [WebServices/API] Show exception reason phrase in response header */
public static $apiShowExceptionReasonPhrase = true;
/** [WebServices/API] Show exception backtrace in response body */
public static $apiShowExceptionBacktrace = true;
/** [WebServices/API] Log to file only exception errors in the logs */
public static $apiLogException = true;
/** [WebServices/API] Log to file all communications data (request + response) */
public static $apiLogAllRequests = true;
/** @var bool Enable api debug. */
public static $debugApi = true;
/** @var bool Display main debug console. */
public static $debugConsole = true;
/** @var bool Show detailed information about error exceptions */
public static $displayDetailsException = true;
/** @var bool Show path tracking for error exceptions. */
public static $displayTrackingException = true;
/** @var bool Enable saving all API logs to file. */
public static $apiAllLogs = true;
/** @var bool Enable saving error API logs to file. */
public static $apiErrorLogs = true;
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.