PHPackages                             hogus/laravel-miniprogram - 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. hogus/laravel-miniprogram

ActiveLibrary[API Development](/categories/api)

hogus/laravel-miniprogram
=========================

各平台小程序集合

1.0.1(6y ago)1151MITPHPPHP &gt;=7.0CI failing

Since Dec 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hogus2037/laravel-miniprogram)[ Packagist](https://packagist.org/packages/hogus/laravel-miniprogram)[ RSS](/packages/hogus-laravel-miniprogram/feed)WikiDiscussions master Synced 3w ago

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

 laravel-miniprogram
=====================

[](#-laravel-miniprogram-)

 .

Installing
----------

[](#installing)

```
$ composer require hogus/laravel-miniprogram -vvv
```

Usage
-----

[](#usage)

```
$gateway = Miniprogram::gateway('wechat');

$gateway->code2session($code); //code2session
$gateway->getAccessToken(); //获取用户授权信息
```

Contributing
------------

[](#contributing)

目前仅支持：`wechat`、`toutiao`、`baidu`

使用前复制配置文件到项目中: `config/miniprogram.php`

`php artisan vendor:publish --provider="Hogus\LaravelMiniProgram\ServiceProvider" --tag="config"`

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1d437156710565b6239dfd93b09c2293771f6d244bcb9345fb8942d192bdce5?d=identicon)[hogus2037](/maintainers/hogus2037)

---

Tags

baidu-miniprogramtoutiao-miniprogramwechatwechat-miniprogramwechatbaiduminiprogramtoutiaomini program

### Embed Badge

![Health badge](/badges/hogus-laravel-miniprogram/health.svg)

```
[![Health](https://phpackages.com/badges/hogus-laravel-miniprogram/health.svg)](https://phpackages.com/packages/hogus-laravel-miniprogram)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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