PHPackages                             mcdanci/thinkphp-ext - 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. mcdanci/thinkphp-ext

ActiveLibrary

mcdanci/thinkphp-ext
====================

ThinkPHP (version 5.0) standard extension.

111PHP

Since Mar 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mcdanci/thnkphp-ext)[ Packagist](https://packagist.org/packages/mcdanci/thinkphp-ext)[ RSS](/packages/mcdanci-thinkphp-ext/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ThinkPHP Extension
==================

[](#thinkphp-extension)

ThinkPHP extension.

Component List:

- Log Driver for Database

Log Driver for Database
-----------------------

[](#log-driver-for-database)

Usage Steps:

1. New a migrate.
2. New a model (*optional*).

---

New a migrate:

```
class CreateLogTable extends \McDanci\ThinkPHP\database\migrates\CreateLogTable
{
}
```

---

New a model:

```
namespace app\common\model;

class Log extends \McDanci\ThinkPHP\app\common\model\Log
{}
```

---

Call:

```
use think\Log;

Log::init(['type' => '\McDanci\ThinkPHP\Driver\Log\DB']);
Log::record('String', Log::LOG);
Log::record(['String too'], Log::LOG);
Log::record(['String with extra', 'Extra information'], Log::LOG);
```

Note
----

[](#note)

Front-end web resources for ThinkPHP is recommended to be located in the path of `./public/static` according to the root of project.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpphp5php7php71thinkphpthinkphp-phpthinkphp5

### Embed Badge

![Health badge](/badges/mcdanci-thinkphp-ext/health.svg)

```
[![Health](https://phpackages.com/badges/mcdanci-thinkphp-ext/health.svg)](https://phpackages.com/packages/mcdanci-thinkphp-ext)
```

PHPackages © 2026

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