1. Go to this page and download the library: Download delboy1978uk/expenses 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/ */
delboy1978uk / expenses example snippets
use Del\Common\ContainerService;
use Del\Expenses\ExpensesPackage;
$package = new ExpensesPackage();
ContainerService::getInstance()->registerToContainer($package);
use Del\Expenses\Criteria\EntryCriteria;
$criteria = new Criteria();
$criteria->setUserId(42);
$criteria->setType('IN'); // also OUT or CLAIM
$criteria->setOrder(Criteria::ORDER_DATE);
$criteria->setLimit(25);
$criteria->setOffset(74);
$results = $svc->findByCriteria($criteria);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.