PHPackages                             xiajianrong/laravel-develop-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xiajianrong/laravel-develop-tools

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

xiajianrong/laravel-develop-tools
=================================

laravel develop tools

1.0.2(3y ago)039MITPHP

Since Nov 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/codyxia/laravel-develop-tools)[ Packagist](https://packagist.org/packages/xiajianrong/laravel-develop-tools)[ RSS](/packages/xiajianrong-laravel-develop-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

### 安装

[](#安装)

```
composer require xiajianrong/laravel-develop-tools

```

### 需要使用关联查询的话安装

[](#需要使用关联查询的话安装)

```
composer require dcat/laravel-wherehasin

```

### 介绍

[](#介绍)

laravel开发过程中重复的代码例如查询和添加操作 数学计算 格式化返回数据等

### 示例

[](#示例)

```
//数据库操作
$params = [
            'id'                    => $request->input('id'),
            'name|alias'            => ['like', $request->input('name')],
            'client_rel_tag.tag_id' => $request->input('tag_id'),
            'client_contacts.name'  => ['like', $request->input('contacts_name')],
            'created_at'            => ['between', $request->input('start_time'), $request->input('end_time')],
        ];
 return SpeedCurd::SearchLists(Client::query(), $params)->get();

 //根据ID判断是更新还是添加
 $params = [
            'id'   => $request->input('id'),
            'name' => $request->input('name'),
        ];
  return SpeedCurd::CreateOrUpdateById(Client::query(), $params);

  //根据条件判断是添加还是更新
  $params = [
            'attribute' => [
                'name' => $request->input('name'),
            ],
            'data'      => [
                'code' => $request->input('code'),
            ]
        ];
  return SpeedCurd::CreateOrUpdateByAttribute(Client::query(), $params);

//返回数据格式化

在controller.php 中使用 HttpResponse
use HttpRespone
//不分页返回
return $this->success($data);

//分页返回
return $this->successPaginate($data);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

1258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bf29a305c6340aaa1b15821eadd479ec74d9b9332662c4332dd4fca37b1df12?d=identicon)[codyxia](/maintainers/codyxia)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xiajianrong-laravel-develop-tools/health.svg)

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

PHPackages © 2026

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