luitd/viis-schools

VIIS connector. Fetches official Latvian list of schools from Ministry of Education and Science

1.0.6 2021-11-25 14:59 UTC

This package is not auto-updated.

Last update: 2024-05-27 22:33:41 UTC


README

Install via Composer

composer req luitd/viis-schools

Quick access

$ViisSchools = new Lu\VIISSchools\VIISSchools('user', 'pass');
$schools = $ViisSchools->getSchoolList();

Options

MethodDescription
VIISSchools::setTestEnvironment()Set test environment flag
VIISSchools::setReturnType()Change return type. Possible options:
ReturnType::XML Default
ReturnType::JSON
ReturnType::ARRAY
ReturnType::OBJECT

Requirements

  • PHP 7.2