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. [Utility &amp; Helpers](/categories/utility)
4. /
5. golive\_jxw/governmentaffair

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 today

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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

1451d 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

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.8M228](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.9k3.8M1.2k](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

2101.0M12](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

8165.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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