PHPackages                             airmole/tjustb-edusys - 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. airmole/tjustb-edusys

ActiveLibrary[API Development](/categories/api)

airmole/tjustb-edusys
=====================

Tianjin college,USTB education system HTTP client

v1.2.19(1mo ago)7852GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Oct 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Airmole/tjustb-edusys)[ Packagist](https://packagist.org/packages/airmole/tjustb-edusys)[ RSS](/packages/airmole-tjustb-edusys/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)DependenciesVersions (45)Used By (0)

tjustb-edusys
=============

[](#tjustb-edusys)

北京科技大学天津学院教务系统客户端（[https://jw.tjustb.cn）](https://jw.tjustb.cn%EF%BC%89)

Requirement
===========

[](#requirement)

- PHP &gt;= 7.4

Installation
============

[](#installation)

```
composer require "airmole/tjustb-edusys"
```

Usage
=====

[](#usage)

```
use Airmole\TjustbEdusys\Edusys;

$usercode = '123456789'; // 系统账号
$password = '*********'; // 系统密码
$edusys = new Edusys('sso'); // old,new,sso三种登录模式
// 自动登录
$edusys->autoLogin($usercode, $password); // 自动识别验证码登录，需要在项目根目录下.env文件配置EDUSYS_OCR_URL
// 手动登录
// $loginPara = $edusys->getLoginPara(); // 获取登录所需参数：cookie，captcha
// $captchaText为验证码识别结果值
// $edusys->selfLogin($usercode, $password, $captchaText, $loginPara['cookie']);
$score = $edusys->score(); // 查询成绩
// 注销登录系统，建议每次获取完所需数据后注销登录，以免多处登录出现获取失败问题。
$edusys->logout();
print_r($score);
```

API
===

[](#api)

Edusys
------

[](#edusys)

主要常用方法从原类中引入集合到Edusys.php中，使用方式如上所示👆🏻

包含方法见[docs/api.md 文档](docs/api.md)，完整详细方法、参数、数据结构类型可能与实际修改更新后不一致，若有变动请以源码为准，欢迎提issue.

Env Config
==========

[](#env-config)

读取环境变量，请将.env文件放在引用项目根目录下，并配置如下内容：

变量名描述默认可选EDUSYS\_OCR\_URL验证码识别接口地址是EDUSYS\_URL访问教务系统路径否EDUSYS\_TIMEOUT请求超时时间(秒数)5否适用学校系统
------

[](#适用学校系统)

以本校2017强智教务为目标抓包分析开发而来，其余院校无法测试可用性未测试。各功能代码略有不同，如果您有类似需求，可[联系我](mailto:admin@airmole.cn)有偿开发专用特供版本。

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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 ~30 days

Recently: every ~17 days

Total

43

Last Release

48d ago

### Community

Maintainers

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

---

Tags

apicrawlereducation-systemphp

### Embed Badge

![Health badge](/badges/airmole-tjustb-edusys/health.svg)

```
[![Health](https://phpackages.com/badges/airmole-tjustb-edusys/health.svg)](https://phpackages.com/packages/airmole-tjustb-edusys)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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