PHPackages                             megoc/ecjtu-crawler - 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. megoc/ecjtu-crawler

ActiveLibrary

megoc/ecjtu-crawler
===================

Ecjtu school information crawler

2.1.2(7y ago)1591[1 issues](https://github.com/megocyt/ecjtu-crawler/issues)MITPHPPHP &gt;=5.6

Since Jan 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/megocyt/ecjtu-crawler)[ Packagist](https://packagist.org/packages/megoc/ecjtu-crawler)[ RSS](/packages/megoc-ecjtu-crawler/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (12)Used By (0)

Ecjtu Crawler
=============

[](#ecjtu-crawler)

- 简单的获取信息接口
- 目前提供的组件（命名空间Megoc\\Ecjtu\\Components）

    - Education 教务管理系统（获取教务相关如成绩、考试、学分、实验、课表、教务处公告等）
    - Elective 选课系统（获取选课、公共任选课、教师简历等）
    - Library 图书馆（借阅历史等）
    - Portal 智慧交大（通知公告、失物招领、cas认证等）
    - PortalCAS 智慧交大CAS认证（cas认证登录支持的子系统）
- How use

```
// 所有组件都通过数组 $user = [
//     'username' => 'your username',
//     'password' => 'your password',
// ] 形式传递登录信息，你可以在实例化时传递，也可以通过实例后的对象手动调用login方法完成登录操作。
// 示例代码
$educaiton = new Megoc\Ecjtu\Components\Education([
    'username' => 'your username',
    'password' => 'your password',
]);

// 获取2018.1学期的成绩
$score = $educaiton->score('2018.1');
var_dump($score);

// and so on...
```

组件接口及返回数据
---------

[](#组件接口及返回数据)

- Education 组件

方法名称参数列表返回值类型备注说明scorestring $termarray成绩creditarray学分获得情况second\_creditarray第二课堂学分获得情况schedulestring $termarray课表week\_schedulestring $week
 string $termarray周历dailystring $datearray日历examstring $termarray考试安排bexamstring $termarray补考安排experimentstring $termarray实验安排classmatestring $class\_idarray班级名单profilearray账号信息class\_numberstring $termarray小班序号class\_liststring $college
 string $gradearray班级列表college\_listarray学院列表cas\_authoritystring $uid
 string $cas\_linkcas认证登录loginarray $user登录notificationsinteger $pagearray通知公告notification\_detailstring $resource\_idarray通知公告信息- Elective 组件

方法名称参数列表返回值类型备注说明coursestring $termarray我的选课profilearray账号信息public\_course\_listinteger $pagearray公共任选课列表teacher\_resumestring $teacher\_task\_idarray教师简历course\_select\_infoarray选课信息cas\_authoritystring $uid
 string $cas\_linkcas认证登录loginarray $user登录- Library 组件

方法名称参数列表返回值类型备注说明historyinteger $pagearray历史借阅记录profilearray账号信息cas\_authoritystring $uid
 string $cas\_linkcas认证登录loginarray $user登录- Portal 组件

方法名称参数列表返回值类型备注说明notificationsinteger $page
 integer $page\_sizearray通知公告notification\_detailstring $resource\_idarray通知公告详细信息lost\_notificationsinteger $page
 integer $page\_sizearray失物招领公告profilearray账号信息cas\_authoritystring $uid
 string $cas\_linkcas认证登录loginarray $user登录- PortalCAS 组件

方法名称参数列表返回值类型备注说明cas\_authority\_linkstring $service\_cas\_uri
 string $cas\_linkstringcas认证登录链接loginarray $user登录encrypted\_passwordstring $passwordstring加密密码service\_name2service\_uristring $service\_namestring根据服务名获取服务cas认证服务器地址Installing Ecjtu Crawler
------------------------

[](#installing-ecjtu-crawler)

The recommended way to install Ecjtu Crawler is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Ecjtu Crawler:

```
php composer.phar require megoc/ecjtu-crawler
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update Ecjtu Crawler using composer:

```
composer.phar update
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

10

Last Release

2606d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85dd14c5a2914ad52524def8b14c334a81795fc8860a9672493e575ee7e6887a?d=identicon)[Megoc](/maintainers/Megoc)

---

Top Contributors

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

---

Tags

megocecjtu crawler

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/megoc-ecjtu-crawler/health.svg)

```
[![Health](https://phpackages.com/badges/megoc-ecjtu-crawler/health.svg)](https://phpackages.com/packages/megoc-ecjtu-crawler)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)

PHPackages © 2026

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