PHPackages                             codernewbie04/my-telu - 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. codernewbie04/my-telu

ActiveLibrary[API Development](/categories/api)

codernewbie04/my-telu
=====================

Un-Official My Tel-U API Wrapper

V1.0.0(3y ago)210MITPHP

Since Feb 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/codernewbie04/my-telu)[ Packagist](https://packagist.org/packages/codernewbie04/my-telu)[ RSS](/packages/codernewbie04-my-telu/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Un-Official My Tel-U API Wrapper
--------------------------------

[](#un-official-my-tel-u-api-wrapper)

IDK if this is legal or not, but keep quiet from Tel-U officers XD MethodResultMy Tel-U Version`Login`OK1.4.7(23 Feb 23)`Profile`OK1.4.7(23 Feb 23)`Schedule`OK1.4.7(23 Feb 23)`Grades`OK1.4.7(23 Feb 23)`scanQR`OK1.4.7(23 Feb 23)Other Lib
---------

[](#other-lib)

### Python

[](#python)

- Coming Soon

### Javascript / nodejs

[](#javascript--nodejs)

- Coming Soon

Install
-------

[](#install)

`composer require codernewbie04/my-telu:dev-main`

Login
-----

[](#login)

```
require 'vendor/autoload.php';
use Codernewbie04\MyTelu\MyTelu;

$mytelu = new MyTelu()->login("username", "password");
//get Resposne
$res = $mytelu->getResponse();
if($res->getStatus()){
  //If logged in
} else {
  //invalid auth
}
```

### Json Response Success

[](#json-response-success)

```
{
 "token": "JWT_TOKEN_HERE",
 "expired": "123456",
}
```

### Json Response Failed

[](#json-response-failed)

```
{
  "status":"Failed",
  "message": "Wrong password, cannot proceed any further"
}
```

Profile
-------

[](#profile)

```
require 'vendor/autoload.php';
use Codernewbie04\MyTelu\MyTelu;
//get JWT_TOKEN from login
$mytelu = new MyTelu("JWT_TOKEN")->profile();
//get Resposne
$res = $mytelu->getResponse();
if($res->getStatus()){
  //If auth token correct
} else {
  //invalid auth
}
```

### Json Response Success

[](#json-response-success-1)

```
{
    "numberid": "130120xxxx",
    "fullname": "xxxxxx",
    "studyprogramid": "xx",
    "studyprogram": "xxxxxxx",
    "facultyid": "x",
    "faculty": "xxxxxxxxx",
    "schoolyear": "xxxx",
    "photo": "https://images.telkomuniversity.ac.id/pmb/2021/PAS_FOTO/xxxxxxxx.jpg",
    "phone": "082xxxxxxxx",
    "emergencyphone": null,
    "studentclass": "IF-xx-xx",
    "lecturerguardian": "xxxxx xxxxxx xxxxxx",
    "address": "xxxxxxx",
    "zipcode": "xxxxx",
    "idcardnumber": "xxxxxxxxxxxxxx",
    "user": "xxxxxxxxx",
    "email": "xxxxxxx@student.telkomuniversity.ac.id"
}
```

### Json Response Failed

[](#json-response-failed-1)

```
{
    "status": "Unauthorized",
    "message": "Invalid/Expired Token, Please Login First..."
}
```

Schedule
--------

[](#schedule)

```
require 'vendor/autoload.php';
use Codernewbie04\MyTelu\MyTelu;

$mytelu = new MyTelu()->schedule("Student ID / NIM");
//get Resposne
$res = $mytelu->getResponse();
if($res->getStatus()){
  //Success get schedule
} else {
  //Failed get schedule
}
```

### Json Response Success

[](#json-response-success-2)

```
[
    {
        "DAY": "SELASA",
        "COURSEID": 1219632,
        "SUBJECT": "XXXXX - XXXXXXXX",
        "LECTURERCODE": "XXX",
        "CLASS": "XX-XX-XX-XX",
        "ROOMNAME": "XXXXXX",
        "STARTHOUR": "XX:XX:XX",
        "ENDHOUR": "XX:XX:XX",
        "SCHEDULESTATUS": "XXXXXX",
        "RNUM": 0,
        "TOTALROWS": 0
    }
]
```

### Json Response Failed

[](#json-response-failed-2)

```
{
    "message": "Data tidak ditemukan"
}
```

Grades
------

[](#grades)

```
require 'vendor/autoload.php';
use Codernewbie04\MyTelu\MyTelu;
// periode Tahun ajaran 2020/2021
// semester 1 : Ganjil / 2 : Genap
// subjectid : course ID, bisa didapatkan lewat jadwal / LMS / Igracias
//example new MyTelu()->grades("130120xxxx", 2021, 1, 25809)
$mytelu = new MyTelu()->grades("Student ID / NIM", "periode", "semester", "subjectid");
//get Resposne
$res = $mytelu->getResponse();
//action with ur response
```

### Json Response Success

[](#json-response-success-3)

```
{
    "COMPONENT": [
        {
            "COMPONENTNAME": "ASSESSMENT TOOL CLO 1",
            "SCORE": 100,
            "PERCENTAGE": 25
        },
        {
            "COMPONENTNAME": "ASSESSMENT TOOL CLO 2",
            "SCORE": 84,
            "PERCENTAGE": 35
        },
        {
            "COMPONENTNAME": "ASSESSMENT TOOL CLO 3",
            "SCORE": 88,
            "PERCENTAGE": 40
        }
    ],
    "AVG": "89.60"
}
```

### Json Response Failed

[](#json-response-failed-3)

```
{
    "COMPONENT": [],
    "AVG": "0.00"
}
```

scanQR
------

[](#scanqr)

```
require 'vendor/autoload.php';
use Codernewbie04\MyTelu\MyTelu;
$mytelu = new MyTelu()->scanQR("Student ID / NIM", "QR CODE IN STRING");
//get Resposne
$res = $mytelu->getResponse();
if($res->getStatus()){
  //If success scan qr code with ur nim
} else {
  //Failed
}
```

### Json Response Success

[](#json-response-success-4)

```
{
    "success": "true",
    "message": "QRCode berhasil di submit"
}
```

### Json Response Failed

[](#json-response-failed-4)

```
{
    "success": "false",
    "message": "QRCode sudah expired"
}
```

### Note

[](#note)

Username and Password only use for login JWT Token only use for get profile My Tel-U Account

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

1171d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e06165baa615b5fbf518ca7f02417ff36cbcc548730a7d754bde61c949e7d55?d=identicon)[codernewbie04](/maintainers/codernewbie04)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/codernewbie04-my-telu/health.svg)

```
[![Health](https://phpackages.com/badges/codernewbie04-my-telu/health.svg)](https://phpackages.com/packages/codernewbie04-my-telu)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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