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.7k1Apache-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 4w ago

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

主要改动
====

[](#主要改动)

全部注释 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

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

987d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12838756?v=4)[weijer](/maintainers/weijer)[@weijer](https://github.com/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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.0k](/packages/laravel-framework)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.8k](/packages/cakephp-cakephp)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.8M173](/packages/algolia-algoliasearch-client-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

758297.9k49](/packages/civicrm-civicrm-core)[directorytree/ldaprecord

A fully-featured LDAP ORM.

5803.6M18](/packages/directorytree-ldaprecord)

PHPackages © 2026

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