PHPackages                             golive\_jxw/governmentaffair - 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. golive\_jxw/governmentaffair

ActiveLibrary

golive\_jxw/governmentaffair
============================

浙里办政务服务

v3.0.0(3y ago)2381MITPHPPHP &gt;=7.2

Since Mar 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jingxiaowang1993/governmentaffair)[ Packagist](https://packagist.org/packages/golive_jxw/governmentaffair)[ RSS](/packages/golive-jxw-governmentaffair/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (0)

 GovernmentAffair
==================

[](#-governmentaffair-)

 for Laravel

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

[](#installation)

```
composer require golive_jxw/governmentaffair -vvv
```

Configuration
-------------

[](#configuration)

The defaults configuration settings are set in config/governmentaffair.php. Copy this file to your own config directory to modify the values. You can publish the config using this command:

```
php artisan vendor:publish --provider="Government\Affair\ServiceProvider"
```

Usage
-----

[](#usage)

SingleSignOn

```
use Government\Affair\Classes\User;

//alipay-支付宝入口
//ZhejiangOffice-同源APP入口（含浙里办APP及其他同源适配APP容器环境）

$user = new User();
$user->auth($goto,'ZhejiangOffice');
```

TicketAuthentication

```
//alipay-支付宝入口
//ZhejiangOffice-同源APP入口（含浙里办APP及其他同源适配APP容器环境）
use Government\Affair\Classes\User;
$user = new User();
$user->ticket($ticket);
//wechat-微信小程序入口
use Government\Affair\Classes\Wechat;
$user = new Wechat();
$user->ticket($ticket);
```

UserInfo

```
//alipay-支付宝入口
//ZhejiangOffice-同源APP入口（含浙里办APP及其他同源适配APP容器环境）
use Government\Affair\Classes\User;
$user = new User();
$user->info($token);
//wechat-微信小程序入口
use Government\Affair\Classes\Wechat;
$user = new Wechat();
$user->info($token);
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Every ~13 days

Recently: every ~33 days

Total

12

Last Release

1356d ago

Major Versions

0.0.1 → v1.0.22022-03-29

v1.0.7 → v2.0.02022-04-15

v2.0.3 → v3.0.02022-08-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/3766deb746b5c297481e38b53e556889157a44e6eb1b49343ac7ecfb106e9ef0?d=identicon)[jingxiaowang1993](/maintainers/jingxiaowang1993)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/golive-jxw-governmentaffair/health.svg)

```
[![Health](https://phpackages.com/badges/golive-jxw-governmentaffair/health.svg)](https://phpackages.com/packages/golive-jxw-governmentaffair)
```

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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