PHPackages                             sheaxiang/laravel-function-helper - 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. sheaxiang/laravel-function-helper

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

sheaxiang/laravel-function-helper
=================================

laravel help function

v1.3(6y ago)1911MITPHPPHP &gt;=5.5.9

Since Sep 4Pushed 6y agoCompare

[ Source](https://github.com/sheaxiang/laravel-function-helper)[ Packagist](https://packagist.org/packages/sheaxiang/laravel-function-helper)[ RSS](/packages/sheaxiang-laravel-function-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (1)

laravel扩展包,一些常用的帮助函数
====================

[](#laravel扩展包一些常用的帮助函数)

函数列表
----

[](#函数列表)

### is\_weixin:判断是否在微信浏览器

[](#is_weixin判断是否在微信浏览器)

### filter\_emoji:过滤表情

[](#filter_emoji过滤表情)

### modify\_env:修改env配置文件

[](#modify_env修改env配置文件)

### generate\_promotion\_code:生成优惠码

[](#generate_promotion_code生成优惠码)

### get\_uid:生成唯一码

[](#get_uid生成唯一码)

### get\_order\_no:生成订单编号

[](#get_order_no生成订单编号)

### is\_debug:检测是否调试模式

[](#is_debug检测是否调试模式)

### upload\_image:上传图片

[](#upload_image上传图片)

### del\_file:删除文件

[](#del_file删除文件)

### dda:打印输出数组

[](#dda打印输出数组)

### is\_mobile:是否是手机端

[](#is_mobile是否是手机端)

### succeed:json成功返回

[](#succeedjson成功返回)

### failed:json失败返回

[](#failedjson失败返回)

引入
--

[](#引入)

```
composer require "sheaxiang/laravel-function-helper"

```

使用
--

[](#使用)

### 在config/app.php中providers加入以下代码即可使用

[](#在configappphp中providers加入以下代码即可使用)

```
\SheaXiang\LaravelFunctionHelper\HelperServiceProvider::class

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

2258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/52ea02ede24383b76c379994cadec91df77a2f40624bc74c33d5ed09094af34e?d=identicon)[sheaxiang](/maintainers/sheaxiang)

---

Top Contributors

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

---

Tags

helperslaravel

### Embed Badge

![Health badge](/badges/sheaxiang-laravel-function-helper/health.svg)

```
[![Health](https://phpackages.com/badges/sheaxiang-laravel-function-helper/health.svg)](https://phpackages.com/packages/sheaxiang-laravel-function-helper)
```

###  Alternatives

[mage-os/module-theme-optimization

Page transitions and speculative loading rules for Magento

418.0k](/packages/mage-os-module-theme-optimization)[teguh02/indonesia-territory-forms

Display a Indonesia Territory Select Form For Filament Within the Zip-Code Without Any Seeder Needed

161.1k](/packages/teguh02-indonesia-territory-forms)

PHPackages © 2026

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