PHPackages                             ximeng1987/think-1987 - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. ximeng1987/think-1987

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

ximeng1987/think-1987
=====================

think log

v2.0(8y ago)014Apache-2.0PHPPHP &gt;=5.6.0

Since Dec 15Pushed 8y agoCompare

[ Source](https://github.com/ximeng1987/think-1987)[ Packagist](https://packagist.org/packages/ximeng1987/think-1987)[ RSS](/packages/ximeng1987-think-1987/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

think-log
=========

[](#think-log)

写入LOG日志，支持文件及SocketLog。

安装

```
composer require topthink/think-log

```

用法：

```
$log = new \think\Log;
$log->init([
	'type'=>'file',
	'path'=>'./runtime/logs/',
]);
$log->record('error info','error');
$log->error('error info');
$log->info('log info');
$log->save();
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~183 days

Total

2

Last Release

2935d ago

Major Versions

v1.0 → v2.02018-06-17

### Community

Maintainers

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

---

Top Contributors

[![big-dream](https://avatars.githubusercontent.com/u/9215157?v=4)](https://github.com/big-dream "big-dream (4 commits)")[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (2 commits)")[![ximeng1987](https://avatars.githubusercontent.com/u/38679655?v=4)](https://github.com/ximeng1987 "ximeng1987 (1 commits)")

### Embed Badge

![Health badge](/badges/ximeng1987-think-1987/health.svg)

```
[![Health](https://phpackages.com/badges/ximeng1987-think-1987/health.svg)](https://phpackages.com/packages/ximeng1987-think-1987)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M262](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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