# ThinkPHP

ThinkPHP Framework

Repository: https://github.com/top-think/framework
Canonical: https://ross.abutalabs.com/products/thinkphp
Homepage: http://www.thinkphp.cn
Language: PHP
License: NOASSERTION
License Family: other
Topics: thinkphp, orm, template, route, framework
Last push: 2026-03-26T06:10:03+00:00
Link (homepage): http://www.thinkphp.cn

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 42, longevity 100
- inputs: {"age_days": 3905, "days_push": 160, "days_rel": 230, "gap_med": 114.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2814, forks 1038 (observed 2026-08-28T04:07:23.779411+00:00)

## What it is
ThinkPHP is a high-performance, lightweight PHP web application framework with two decades of development history, now rebuilt on PHP 8.0+. It provides routing, ORM (think-orm), templating, middleware, and PSR-compliant architecture for rapid web application development.

## Use cases
- build web applications in php
- php framework with orm and routing
- rapid backend development for web apps
- develop rest apis in php
- build admin panels and cms backends
- migrate legacy php 6.x thinkphp apps to php 8

## When to choose
- you want a mature, lightweight PHP framework with strong Chinese-language documentation and community
- you need an integrated ORM, routing, and templating stack out of the box
- your team already knows ThinkPHP and is upgrading from 6.x to PHP 8

## When to avoid
- you prefer the dominant international PHP ecosystem (Laravel/Symfony) with broader third-party packages
- you need a microframework or async/event-driven PHP runtime
- your project requires English-first documentation and support

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, orm, routing, templating, middleware
- domain: web-development, backend, developer-tools
- platform: php, cross-platform
- tags: mvc, chinese-ecosystem, psr-compliant, php8, web-server

## Member repositories
- top-think/framework (main) score 68
- top-think/think (examples) score 40
- top-think/thinkphp (mirror) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:23.779411+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:33:29.701196+00:00, confidence not recorded.
  - readme: https://github.com/top-think/framework (fetched 2026-08-28T04:07:23.779411+00:00, sha 83e8abef65f2)
  - homepage: http://www.thinkphp.cn (fetched 2026-08-29T08:30:10.766243+00:00, sha c22056937b31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
