dpazuic/aits_netid_assignment

Package used to query AITS webservices for a person by NetID.

Installs: 82

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/dpazuic/aits_netid_assignment

v2.0.0 2025-12-04 16:32 UTC

This package is auto-updated.

Last update: 2025-12-04 16:33:55 UTC


README

Purpose

Package that parses an AITS XML NetId Assignment object into a PHP Object

Requirements

  • PHP 7+
  • Composer

Initial Set-up

  1. Change into package's root directory.
  2. Copy .env.example to .env and fill out the values accordingly.
  3. Run composer setup composer install.

Usage

  1. Include composer's autoloader include('vendor/autoload.php'')
  2. Call upon the static method \App\Controllers\AITS_NetId_Assignment::getNetIdAssignment($netId, $domain);
    1. First parameter is the NetId to be queried
    2. Second parameter is the Domain to be queried (uic.edu, uillinois.edu, or uis.edu). uic.edu is set by default.
  3. If successful getNetIdAssignment will return a App\Model\NetIdAssignment object.