PHPackages                             reasonpun/laravel-quick-tools - 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. reasonpun/laravel-quick-tools

ActiveSdk[API Development](/categories/api)

reasonpun/laravel-quick-tools
=============================

agile development

v0.0.3(4y ago)17MITPHPPHP &gt;=7.1.0

Since Mar 8Pushed 4y ago1 watchersCompare

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

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

laravel-quick
=============

[](#laravel-quick)

**laravel-quick-tools** 封装了一些我们开发中常见的工具，使开发变得更高效 forked from youyingxiang/laravel-quick &amp; fit for Laravel 9.x

安装
--

[](#安装)

- `composer require reasonpun/laravel-quick-tools`
- 生成翻译好的中文包命令

    **linux 和 mac** `php artisan vendor:publish--provider="Reasonpun\\LaravelQuickTools\\LaravelQuickToolsServiceProvider"`**windows** `php artisan vendor:publish --provider="Reasonpun\LaravelQuickTools\LaravelQuickToolsServiceProvider"`

怎么使用
----

[](#怎么使用)

```
// api 返回状态码

// 异常使用例子
use Reasonpun\LaravelQuickTools\Exceptions\Api\ApiNotFoundException;
// 请求参数错误
throw new ApiRequestException();
// 404 未找到
throw new ApiNotFoundException();
// 系统错误
throw new ApiSystemException()
// 未授权
throw new ApiUnAuthException()
// 返回

//自定义错误继承Reasonpun\LaravelQuickTools\Exceptions自己参照对应代码自定义

// api接口使用
use Reasonpun\LaravelQuickTools\Traits\JsonResponseTrait

// 成功
return $this->success("消息",['name'=>"张三"]);
// 失败
return $this->error("错误");
// 自定义
return $this->apiResponse(Response::HTTP_BAD_GATEWAY,"502错误");

// 缓存的使用（封装了redis的一些方法）
use Reasonpun\LaravelQuickTools\Facades\CacheClient;

CacheClient::hSet("test","1","张三");
CacheClient::hGet("test","1");
CacheClient::lPush("test","1");

具体参考Reasonpun\LaravelQuickTools\Services\CacheService里面的方法....

```

artisan 命令
----------

[](#artisan-命令)

- 创建 Trait `php artisan quick:create-trait test`
- 创建 Service `php artisan quick:create-service Test/TestService`
- 创建 Repository `php artisan quick:create-repository Test`

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Total

3

Last Release

1577d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/880470?v=4)[Reason Pun](/maintainers/reasonpun)[@reasonpun](https://github.com/reasonpun)

---

Top Contributors

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

---

Tags

phpapilaravelscaffoldtool

### Embed Badge

![Health badge](/badges/reasonpun-laravel-quick-tools/health.svg)

```
[![Health](https://phpackages.com/badges/reasonpun-laravel-quick-tools/health.svg)](https://phpackages.com/packages/reasonpun-laravel-quick-tools)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k9.5M88](/packages/openai-php-laravel)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M132](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M62](/packages/knuckleswtf-scribe)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74331.3k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)[yxx/laravel-quick

agile development

145.6k](/packages/yxx-laravel-quick)

PHPackages © 2026

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