uicosss/aits_enterprise_user

PHP Wrapper API for the AITS Enterprise User API

Maintainers

Package info

github.com/uicosss/aits_enterprise_user

pkg:composer/uicosss/aits_enterprise_user

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-07 04:02 UTC

This package is auto-updated.

Last update: 2026-08-07 15:34:45 UTC


README

PHP Library for using the AITS Enterprise User API (contact AITS for additional details on API).

Usage

To use the library, you need to:

Include library in your program

require_once __DIR__ . '/aits_enterprise_user.php';

or use composer composer require uicosss\aits_enterprise_user

require_once __DIR__ . '/vendor/autoload.php';

Instantiate an object of class Uicosss\AITS\EnterpriseUser

$netid = 'sparky'; 
$campusDomain = 'uic.edu'; // Allowed: (uic.edu|uiuc.edu|illinois.edu|uis.edu|100|200|400)
$senderAppID = 'YOUR_SENDER_APP_ID'; // Contact AITS for this
$personApi = new Uicosss\AITS\EnterpriseUser($netid, $campusDomain, $senderAppID);

Getting Results from an API call

The default response will be JSON, but you can also request the raw data which will be an object of StdClass. Contact AITS for additional details on API schema.

$personApi->findPerson(); // Conduct the person lookup
$response = $personApi->getResponse(); // See JSON response

Examples:

You can use the attached examples/cli-test.php file from the command line to test functionality. php cli-test.php YOUR_SENDER_APP_ID NETID CAMPUS_DOMAIN