aingelc12ell/access-php-api

PHP API client for ACCESS School System

v1.2 2024-09-13 12:19 UTC

This package is auto-updated.

Last update: 2024-11-13 12:59:44 UTC


README

This API provides a ready-to-use codes to integrate developments into the core data of ACCESS School Management System.

Install

composer require aingelc12ell\access-php-api

Rename and modify config.sample to config.php. The values are as provided and available from the hosting school.

Basic Usage:

$Client = new ACCESS\Client(array(
   'application' => '', #name of system calling the request
    'school' => '', #SCHOOLNAMESETTINGS
    'key' => '', #API Key provided by school
    'hash' => '', #API has string provided by school
    'url' => 'https://api.accessphp.net/', #URL of the API specifically for the school
    'systemid' => '', #
    'debug' => false,
   ))
$Student = new ACCESS\Student('9504266');
$result = $Client->sendRequest($Student->getInfo());