PHPackages                             colaphp/utils - 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. colaphp/utils

ActiveLibrary

colaphp/utils
=============

1.2.2(4mo ago)0591MITPHPPHP &gt;=5.6

Since Jul 30Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/nydia87/colaphp-utils)[ Packagist](https://packagist.org/packages/colaphp/utils)[ RSS](/packages/colaphp-utils/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (1)

colaphp-util
============

[](#colaphp-util)

版本^1.0

Config配置、支持加载PHP文件
==================

[](#config配置支持加载php文件)

版本^1.1

Log日志、File文件
============

[](#log日志file文件)

版本^1.2

Upload上传、Image图片、Verify验证码、Base64加密
===================================

[](#upload上传image图片verify验证码base64加密)

```
public function load(){} //加载文件
public function set(){} //设置
public function get(){} //获取
public function remove(){} //移除
function config() //助手函数
```

Debug调试
=======

[](#debug调试)

```
public static dump() //友好的变量输出.
function dump() //助手函数
```

Env环境变量、支持加载ini、env文件
=====================

[](#env环境变量支持加载inienv文件)

```
public static load() //加载文件.
public static set() //设置.
public static get() //获取.
function env() //助手函数
```

```
$config = [
    'time_format' => 'c',
    //单独记录true | string
    'single'      => false,
    'file_size'   => 2097152,
    'path'        => __DIR__,
    //独立日志的类型warning|error
    'apart_level' => [],
    'json'        => false,
];
$Log = new \Colaphp\Utils\Log();
$Log->init($config);
$Log->notice('hello');
$Log->save();
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance74

Regular maintenance activity

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Recently: every ~400 days

Total

10

Last Release

141d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.6.40

1.1.2PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11849800?v=4)[nydia87](/maintainers/nydia87)[@nydia87](https://github.com/nydia87)

---

Top Contributors

[![nydia87](https://avatars.githubusercontent.com/u/11849800?v=4)](https://github.com/nydia87 "nydia87 (12 commits)")

---

Tags

phputilscolaphp

### Embed Badge

![Health badge](/badges/colaphp-utils/health.svg)

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

###  Alternatives

[letsdrink/ouzo-goodies

Utility classes, test assertions and mocking framework extracted from Ouzo framework.

132617.9k7](/packages/letsdrink-ouzo-goodies)

PHPackages © 2026

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