PHPackages                             markwang/commontools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. markwang/commontools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

markwang/commontools
====================

通用的处理工具类(包含数据表实例自动生成、管道模式处理)

v0.2(6y ago)03MITPHP

Since May 9Pushed 6y agoCompare

[ Source](https://github.com/mark-wby/createEntryBean)[ Packagist](https://packagist.org/packages/markwang/commontools)[ RSS](/packages/markwang-commontools/feed)WikiDiscussions master Synced 3w ago

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

通用的php工具类

一、自动生成数据表实例类(目的是为了防止数组作为参数,导致程序不健壮)

example:

1.使用现有框架运行sql

```
SELECT column_name,data_type,column_comment,table_name FROM information_schema.`COLUMNS` where TABLE_SCHEMA = '数据库' and TABLE_NAME = '数据表';

```

2.将获取到的结果作为参数

\\MarkWang\\AutoCreateEntryBean\\CreateEntryBean::setTableStructs($tableStructs);//设置生成的数据表结构 \\MarkWang\\AutoCreateEntryBean\\CreateEntryBean::setTargetPath($targetPath);//设置生成的文件的目录 \\MarkWang\\AutoCreateEntryBean\\CreateEntryBean::setNameSpace($nameSpace);//设置生成的命名空间 \\MarkWang\\AutoCreateEntryBean\\CreateEntryBean::createEntryBean();//生成文件

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

2244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17dd456d571b52f808fd425e2b03fbd618b21c1aab6f58b5709ba1beeb66ea06?d=identicon)[package-king](/maintainers/package-king)

---

Top Contributors

[![mark-wby](https://avatars.githubusercontent.com/u/22794632?v=4)](https://github.com/mark-wby "mark-wby (13 commits)")

### Embed Badge

![Health badge](/badges/markwang-commontools/health.svg)

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

###  Alternatives

[jcergolj/extra-checks-for-spatie-laravel-server-monitor

Additional custom checks for Spatie laravel-server-monitor package

546.5k](/packages/jcergolj-extra-checks-for-spatie-laravel-server-monitor)[nextgen-tech/gs1-decoder

1030.0k](/packages/nextgen-tech-gs1-decoder)[rexlmanu/laravel-tickets

Simple but effective solutions to provide support

171.2k](/packages/rexlmanu-laravel-tickets)[maniruzzaman/laravel-unique-slug

A simple but beautiful unique slug generator for Laravel eloquent model.

111.8k](/packages/maniruzzaman-laravel-unique-slug)

PHPackages © 2026

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