PHPackages                             yangze/laravelsmartprogram - 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. yangze/laravelsmartprogram

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

yangze/laravelsmartprogram
==========================

:description

v0.0.1(7y ago)08MITPHP

Since Mar 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zhenyangze/laravelsmartprogram)[ Packagist](https://packagist.org/packages/yangze/laravelsmartprogram)[ Docs](https://github.com/yangze/laravelsmartprogram)[ RSS](/packages/yangze-laravelsmartprogram/feed)WikiDiscussions master Synced 3w ago

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

LaravelSmartprogram
===================

[](#laravelsmartprogram)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1b86338b87ed794b52243014f30b51f23ffb4a6bc16f798b83f011deec123e08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f79616e677a652f6c61726176656c736d61727470726f6772616d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yangze/laravelsmartprogram)[![Total Downloads](https://camo.githubusercontent.com/e904fcbf25f7e0b39101d92538f034e82dcafa40b1ce01917a2bb97a0d6456c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616e677a652f6c61726176656c736d61727470726f6772616d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yangze/laravelsmartprogram)[![Build Status](https://camo.githubusercontent.com/0dfb4536acaa3b56a5df2cc3351eb4e275ba14784b092665b03170d35f121c05/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f79616e677a652f6c61726176656c736d61727470726f6772616d2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yangze/laravelsmartprogram)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

在laravel中支持百度小程序等相关功能

安装
--

[](#安装)

Via Composer

```
$ composer require yangze/laravelsmartprogram
```

```
$ php artisan vendor:publish --provider="yangze\LaravelSmartprogram\LaravelSmartprogramServiceProvider"
```

使用方法
----

[](#使用方法)

### 用户登录信息

[](#用户登录信息)

### 获取加密用户信息

[](#获取加密用户信息)

### 模板管理

[](#模板管理)

### 发送模板消息

[](#发送模板消息)

### 生成订单参数

[](#生成订单参数)

### 订单回调

[](#订单回调)

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

2659d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/731316?v=4)[yangze](/maintainers/yangze)[@yangze](https://github.com/yangze)

---

Top Contributors

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

---

Tags

laravelLaravelSmartprogram

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yangze-laravelsmartprogram/health.svg)

```
[![Health](https://phpackages.com/badges/yangze-laravelsmartprogram/health.svg)](https://phpackages.com/packages/yangze-laravelsmartprogram)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[erag/laravel-pwa

A simple and easy-to-use PWA (Progressive Web App) package for Laravel applications.

180124.1k](/packages/erag-laravel-pwa)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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