PHPackages                             siushin/laravel-tool - 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. siushin/laravel-tool

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

siushin/laravel-tool
====================

LaravelTool 基于 Laravel 的枚举、助手函数、Trait特征、工具类、模型转换等常用工具类及助手函数。

v1.1.0(2mo ago)062↓100%MITPHPPHP ^8.3CI passing

Since Dec 20Pushed 2mo agoCompare

[ Source](https://github.com/siushin/laravel-tool)[ Packagist](https://packagist.org/packages/siushin/laravel-tool)[ RSS](/packages/siushin-laravel-tool/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (3)Versions (12)Used By (0)

laravel-tool - Laravel 常用工具集
============================

[](#laravel-tool---laravel-常用工具集)

基于 Laravel 的枚举、助手函数、Trait特征、工具类、模型转换等常用工具类及助手函数。

开始使用
----

[](#开始使用)

```
composer require siushin/laravel-tool
```

开启扩展
----

[](#开启扩展)

- mbstring

目录结构
----

[](#目录结构)

```
src  源代码目录
├─Cases                模型转换目录
│  └─Json.php                         事件定义文件
├─Enums                枚举目录
│  ├─GenderTypeEnum.php               性别
│  ├─UploadFileTypeEnum.php           上传文件类型
│  ├─RequestSourceEnum.php            请求来源
│  └─SocialTypeEnum.php               社交类型
├─Funcs                助手函数目录
│  ├─LaraDateTime.php                 日期时间（基于Laravel）
│  ├─LaraRequest.php                  Request请求（基于Laravel）
│  └─LaraResponse.php                 Response响应（基于Laravel）
├─Traits               Trait特征目录
│  ├─ExcelReader.php                  Excel读取
│  ├─ExcelTool.php                    Excel工具
│  ├─ExcelWriter.php                  Excel写入
│  ├─LaraParamTool.php                参数（基于Laravel）
│  └─ModelTool.php                    模型常用方法
├─Utils                工具类目录
│  └─Tree.php                         生成Tree树结构
├─Installer.php        composer命令钩子
├─ServiceProvider.php  服务提供者

```

🧑🏻‍💻 关于作者
---------

[](#‍-关于作者)

多年开发经验，具有丰富的前、后端软件开发经验~

微信：siushin

Github：

个人博客：

邮箱：[](mailto:siushin@163.com)

💡 反馈交流
------

[](#-反馈交流)

在使用过程中有任何想法、合作交流，请加我微信 `siushin` （备注 github ）：

[![添加我微信备注「github」](/static/images/siushin-WeChat.jpg)](/static/images/siushin-WeChat.jpg)

☕️ 打赏赞助
-------

[](#️-打赏赞助)

如果你觉得知识对您有帮助，可以请作者喝一杯咖啡 ☕️

[![微信收款码](/static/images/siushin-WechatPay.jpg)](/static/images/siushin-WechatPay.jpg)[![支付宝收款码](/static/images/siushin-Alipay.jpg)](/static/images/siushin-Alipay.jpg)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance85

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

11

Last Release

77d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86f3f1827707c22e3a941ff62acd6d9c035b59caa8f5a4ace163a242dff16924?d=identicon)[siushin](/maintainers/siushin)

---

Top Contributors

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

---

Tags

phplaravelhelpertool

### Embed Badge

![Health badge](/badges/siushin-laravel-tool/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.5k69.2k](/packages/grumpydictator-firefly-iii)[laravelista/ekko

Framework agnostic PHP package for marking navigation items active.

278666.3k4](/packages/laravelista-ekko)[firefly-iii/data-importer

Firefly III Data Import Tool.

7515.8k](/packages/firefly-iii-data-importer)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2515.8k](/packages/iteks-laravel-enum)[lazerg/laravel-enum-pro

A powerful PHP enum extension with collection support, random selection, and magic static calls

4318.7k](/packages/lazerg-laravel-enum-pro)

PHPackages © 2026

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