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
Requires
- php: >8.2.0
- guzzlehttp/guzzle: ^7.5.1
- monolog/monolog: ^1.24
- nesbot/carbon: ^2.64.0
- vlucas/phpdotenv: ^3.3
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
- Change into package's root directory.
- Copy .env.example to .env and fill out the values accordingly.
- Run composer setup
composer install.
Usage
- Include composer's autoloader
include('vendor/autoload.php'') - Call upon the static method
\App\Controllers\AITS_NetId_Assignment::getNetIdAssignment($netId, $domain);- First parameter is the NetId to be queried
- Second parameter is the Domain to be queried (uic.edu, uillinois.edu, or uis.edu). uic.edu is set by default.
- If successful
getNetIdAssignmentwill return aApp\Model\NetIdAssignmentobject.