PHPackages                             ty666/login2hnnu-jwc - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. ty666/login2hnnu-jwc

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

ty666/login2hnnu-jwc
====================

基于curl淮南师范学院教务处认证

1.0.14(8y ago)830MITPHP

Since Nov 17Pushed 8y ago3 watchersCompare

[ Source](https://github.com/3tnet/Login2hnnuJwc)[ Packagist](https://packagist.org/packages/ty666/login2hnnu-jwc)[ RSS](/packages/ty666-login2hnnu-jwc/feed)WikiDiscussions master Synced 2mo ago

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

Login2hnnuJwc
=============

[](#login2hnnujwc)

登陆到淮南师范学院教务处laravel扩展

Installation
------------

[](#installation)

- Run `composer require ty666/login2hnnu-jwc`

该扩展包已经可以独立使用
============

[](#该扩展包已经可以独立使用)

In laravel
----------

[](#in-laravel)

- Add `Ty666\Login2hnnuJwc\Laravel\LaravelServiceProvider::class,` to **providers** in *config/app.php*
- Add `'Login2hnnuJwc' => Ty666\Login2hnnuJwc\Facades\Login2hnnuJwc::class,` to **aliases** in *config/app.php*

Usage
-----

[](#usage)

### 登陆进教务处

[](#登陆进教务处)

```
/**
 * Step.1 登陆进教务处
 * @param $studentNum 学号
 * @param $idCard 身份证号码
 * @return bool
 * @throws LoginJWCException 登录失败会抛出LoginJWCException异常
 */
 Login2hnnuJwc::login2Jwc($studentNum, $idCard);

```

### 从教务处获取学生信息(必须先登陆进教务处)

[](#从教务处获取学生信息必须先登陆进教务处)

```
/**
  * Step.2 从教务处获取学生信息
  * @return array
  */

 Login2hnnuJwc::getStudentInfoFromJWC();

```

#### 返回数组

[](#返回数组)

```
//学号
'student_num'
//姓名
'student_name'
//二级学院
'department'
//专业+班级
'student_class'
//生日
'birthday'

```

### 保存照片(必须先登陆进教务处)

[](#保存照片必须先登陆进教务处)

`Login2hnnuJwc::savePhoto()`

#### 返回值

[](#返回值)

`Symfony\Component\HttpFoundation\File\UploadedFile`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/169f390ecf6810b1e5de6deff4bbec5fff6ffed2c82e115273439cc184709e51?d=identicon)[ty666](/maintainers/ty666)

---

Top Contributors

[![venus-robot](https://avatars.githubusercontent.com/u/120213445?v=4)](https://github.com/venus-robot "venus-robot (26 commits)")

### Embed Badge

![Health badge](/badges/ty666-login2hnnu-jwc/health.svg)

```
[![Health](https://phpackages.com/badges/ty666-login2hnnu-jwc/health.svg)](https://phpackages.com/packages/ty666-login2hnnu-jwc)
```

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[njoguamos/laravel-turnstile

A laravel wrapper for https://developers.cloudflare.com/turnstile/

2315.9k2](/packages/njoguamos-laravel-turnstile)

PHPackages © 2026

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