PHPackages                             uicosss/aits\_term\_query - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. uicosss/aits\_term\_query

ActiveLibrary[API Development](/categories/api)

uicosss/aits\_term\_query
=========================

PHP Wrapper API for the AITS Term Query API

0.0.2(1y ago)06MITPHPPHP ^8.2

Since Nov 25Pushed 1y agoCompare

[ Source](https://github.com/uicosss/aits_term_query)[ Packagist](https://packagist.org/packages/uicosss/aits_term_query)[ RSS](/packages/uicosss-aits-term-query/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

University of Illinois
======================

[](#university-of-illinois)

AITS - Term Query
-----------------

[](#aits---term-query)

PHP library for using the AITS Term Query API. Contact AITS for additional implementation details.

Usage
-----

[](#usage)

To use the library, you need to:

### Include library in your program

[](#include-library-in-your-program)

`require_once 'TermQuery.php';`

### or use composer

[](#or-use-composer)

```
composer require uicosss/aits_term_query
require_once 'vendor/autoload.php';

```

### Instantiate an object of the class

[](#instantiate-an-object-of-the-class)

```
$apiUrl = 'apiurl.com/without/trailing/slash'; // Contact AITS for this
$subscriptionKey = 'YOUR_SUBSCRIPTION_KEY'; // Contact AITS for this
$personApi = new uicosss\TermQuery($apiUrl, $subscriptionKey);

```

### Getting Results from an API call

[](#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.

```
Required:
$campus = 'uic'; // One of 'uic', 'uis', 'uiuc')

Optional:
$term = 'nextYear'; // Banner Term or term period ('current', 'nextYear', 'pastYear'). Default is `current`

$termApi->findTerm($campus, $term); // Conduct the term query
echo $termApi->getResponse(true); // See raw JSON response
$json = $termApi->getResponse(); // Get decoded JSON array

```

Examples:
---------

[](#examples)

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

`php cli-test.php apiurl.com/without/trailing/slash YOUR_SUBSCRIPTION_KEY campus`

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

586d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/127133062?v=4)[jjonesuic](/maintainers/jjonesuic)[@jjonesuic](https://github.com/jjonesuic)

![](https://avatars.githubusercontent.com/u/89788862?v=4)[sa-osss-web-1](/maintainers/sa-osss-web-1)[@sa-osss-web-1](https://github.com/sa-osss-web-1)

![](https://avatars.githubusercontent.com/u/69606214?v=4)[ereyes28](/maintainers/ereyes28)[@Ereyes28](https://github.com/Ereyes28)

---

Top Contributors

[![thedanpaz](https://avatars.githubusercontent.com/u/25891292?v=4)](https://github.com/thedanpaz "thedanpaz (2 commits)")

### Embed Badge

![Health badge](/badges/uicosss-aits-term-query/health.svg)

```
[![Health](https://phpackages.com/badges/uicosss-aits-term-query/health.svg)](https://phpackages.com/packages/uicosss-aits-term-query)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
