PHPackages                             teamones/think-orm - 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. [Database &amp; ORM](/categories/database)
4. /
5. teamones/think-orm

ActiveLibrary[Database &amp; ORM](/categories/database)

teamones/think-orm
==================

think orm

0.0.4(2y ago)01.6k↓100%Apache-2.0PHPPHP &gt;=7.1.0

Since Jun 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/teamones-open/think-orm)[ Packagist](https://packagist.org/packages/teamones/think-orm)[ RSS](/packages/teamones-think-orm/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (7)Used By (0)

主要改动
====

[](#主要改动)

全部注释 Model.php 自动事务处理，特性功能与官方保持同步

ThinkORM
========

[](#thinkorm)

基于PHP7.1+ 和PDO实现的ORM，支持多数据库，2.0版本主要特性包括：

- 基于PDO和PHP强类型实现
- 支持原生查询和查询构造器
- 自动参数绑定和预查询
- 简洁易用的查询功能
- 强大灵活的模型用法
- 支持预载入关联查询和延迟关联查询
- 支持多数据库及动态切换
- 支持`MongoDb`
- 支持分布式及事务
- 支持断点重连
- 支持`JSON`查询
- 支持数据库日志
- 支持`PSR-16`缓存及`PSR-3`日志规范

安装
--

[](#安装)

```
composer require topthink/think-orm

```

文档
--

[](#文档)

详细参考 [ThinkORM开发指南](https://www.kancloud.cn/manual/think-orm/content)

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

4

Last Release

850d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

databaseorm

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/teamones-think-orm/health.svg)

```
[![Health](https://phpackages.com/badges/teamones-think-orm/health.svg)](https://phpackages.com/packages/teamones-think-orm)
```

###  Alternatives

[topthink/think-orm

the PHP Database&amp;ORM Framework

4341.9M192](/packages/topthink-think-orm)[cycle/database

DBAL, schema introspection, migration and pagination

64665.8k23](/packages/cycle-database)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

815.7k](/packages/tommyknocker-pdo-database-class)

PHPackages © 2026

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