PHPackages                             uicosss/aits\_grades - 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. uicosss/aits\_grades

ActiveLibrary

uicosss/aits\_grades
====================

PHP Wrapper API for the AITS Grades API

v1.0.2(today)00MITPHPPHP &gt;5.3.0

Since Jul 29Pushed today1 watchersCompare

[ Source](https://github.com/uicosss/aits_grades)[ Packagist](https://packagist.org/packages/uicosss/aits_grades)[ RSS](/packages/uicosss-aits-grades/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (8)Used By (0)

aits\_grades
============

[](#aits_grades)

PHP Library for using the AITS Grades API (contact AITS for additional details on API)

Usage
-----

[](#usage)

To use the library, you need to:

### Include library in your program

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

```
include_once(aits_grades.php');

```

### or use composer `composer require uicosss\aits_grades`

[](#or-use-composer-composer-require-uicosssaits_grades)

```
include_once('vendor/autoload.php');

```

### Instantiate an object of class `Uicosss\aits_grades`

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

```
$uin = '123456789';
$senderAppID = 'YOUR_SENDER_APP_ID'; // Contact AITS for this
$term = '220181'; // Optional
$gradesAPI = new Uicosss\aits_grades($uin, $senderAppID, $term); // Includin 3rd argument, term, is optional

```

**Note**: By default the third argument, term, is optional. If term is provided, the API fetches the grade information for the provided term. If the term is not provided, the API fetches the grade information for each term the student has registered courses.

### 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 array of StdClass objects.

```
$gradesAPI->getAITSTerms();
$response = $gradesAPI->getResponse('JSON');

```

Examples:
---------

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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

3

Last Release

0d ago

### Community

Maintainers

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

![](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)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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