PHPackages                             dtl625/toolbox - 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. dtl625/toolbox

ActiveLibrary

dtl625/toolbox
==============

php helper

010PHP

Since Apr 4Pushed 4y agoCompare

[ Source](https://github.com/DTL625/Toolbox)[ Packagist](https://packagist.org/packages/dtl625/toolbox)[ RSS](/packages/dtl625-toolbox/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Function Toolbox
================

[](#function-toolbox)

### 介紹:

[](#介紹)

PHP函數工具包

- 陣列處理
- CSV檔案處理
- debug工具
- 數字處理
- http請求處理
- 字串處理
- URL處理
- 驗證處理

### 陣列處理

[](#陣列處理)

---

`get($array, $key, $def_val)` - 根據指定key獲取陣列內容

- array: 要搜索的陣列
- key: 要查找的key
- def\_val: 默認值

    ```
      $array = [
      	'a' => 1,
      	'b' => 2,
      	'bar' => ['a', 'b']
      ];
      // 根據指定key獲取陣列內容，$foo = 1
      $foo = Arr::get($array, 'a');
      // 支援默認值，$foo = 3
      $foo = Arr::get($array, 'c', 3);
      // 另外支援點式，$foo = a
      $foo = Arr::get($array, 'bar.0');

    ```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa328c4d08ec9f7ac1803ff6a59cf68007ff668dba2c3ca1c97e997090715b71?d=identicon)[DTL625](/maintainers/DTL625)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dtl625-toolbox/health.svg)

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

PHPackages © 2026

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