You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$invoices = $client->Invoices()->get(); // Koren\ErplyBooks\Response\ItemsResponse// Items response is iterableforeach ($invoicesas$invoice) {
// Do something with $invoice
}
// Responses are jsonable$json = json_decode($response); // json string of all items or item// Responses are countable$count = count($response); // integer (how many items were in response)
Development
composer build - build by running tests and all code checks
composer test - run PHPUnit
composer format - format code against standards
composer phpcs - run PHP Codesniffer against PSR-2 standards
composer phpmd - run PHP Mess Detector
composer docs - generate docs with PHP Documentator (expects apigen/apigen installed globally cause of conflicts)