PHPackages                             james1985/webman-tpvalidate - 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. james1985/webman-tpvalidate

ActiveLibrary

james1985/webman-tpvalidate
===========================

From thinkphp 8 use think-orm

1.0.2(1y ago)0261MITPHPPHP &gt;=8.2

Since May 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/QQ755816/webman-tpvalidate)[ Packagist](https://packagist.org/packages/james1985/webman-tpvalidate)[ RSS](/packages/james1985-webman-tpvalidate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

从TP迁移过来的 添加以下两个函数 可以减少很多修改内容

```
if (!function_exists('lang')) {
    function lang(string $set, string $lang = null)
    {
        //前台传递es-lang作为语言参数 按照你自己的修改
        $langset = $lang ?: request()->header('es-lang') ?: env('SYSTEM_LOCAL', 'zh-cn');
        return trans($set, [], null, $langset);
    }
}

if (!function_exists('env')) {
    function env($env, $default = '')
    {
        return getenv($env) ?: $default;
    }
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11053c3cefdb85016ffef1694115ac52c56f8cce06420ee037ffbd4482757c1d?d=identicon)[james.1985@qq.com](/maintainers/james.1985@qq.com)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/james1985-webman-tpvalidate/health.svg)

```
[![Health](https://phpackages.com/badges/james1985-webman-tpvalidate/health.svg)](https://phpackages.com/packages/james1985-webman-tpvalidate)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M309](/packages/easycorp-easyadmin-bundle)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)

PHPackages © 2026

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