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. [Framework](/categories/framework)
4. /
5. mcdanci/thinkphp-ext

ActiveLibrary[Framework](/categories/framework)

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 2d 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 13% 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://avatars.githubusercontent.com/u/12187546?v=4)[McDanci](/maintainers/mcdanci)[@mcdanci](https://github.com/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)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M294](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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