PackageTrack
Sign in Get early access

topthink/think-orm

the PHP Database&ORM Framework

v4.0.51 2.2M downloads/mo #3190 most downloaded on Packagist top-think/think-orm

What this package is like to depend on

Last release 8 months ago

18 Dec 2025

Ships unpredictably

gaps range from 8 days to 4 months

Rarely documented

notes for 10 of 180 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

180 releases · first in 2017

1 release in the last 12 months

see the full history below

Release timeline

180 releases · Oct 2017 to Dec 2025
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 180
  1. v4.0.51 18 Dec 2025
    Release notes
    • 改进lazy方法对distinct的处理
    • 修改 getBindAttr 为 getAttrOfBind
    • 修改 getWithAttr 为 getAttrOfWith
    • 修改 setWithAttr 为 setAttrOfWith
    • 修改 getRelationMapAttr 为 getAttrOfRelationMap
    • 改进toarray方法的append处理 支持relation.attr方式
    • 修正DateTime类 关闭时间格式化后的问题
    • 修正软删除
    • 改进pgsql驱动
    • 增加after_connect
    • 数据库驱动增加时区设置,统一使用timezone参数配置
    • 使用标准 PostgreSQL 系统表查询字段信息
    • 改进Raw类
    Open source →
  2. v4.0.50 26 Aug 2025
    Release notes
    • 改进模型的suffix方法调用处理
    • 模型和实体模型增加基础配置定义方法getBaseOptions()
    • 改进视图模型支持基础类参数定义
    • 优化 Json 字段解析效率
    Open source →
  3. v4.0.49 10 Aug 2025
    Release notes
    • chunk查询方法使用lazy方法重写并优化实现
    • LazyCollection类增加page方法简化数据处理
    • 改进cursor方法支持关联查询
    • chunk方法的column参数不再支持传入数组
    • 改进视图模型的获取器调用
    • 增加setAttrs方法
    Open source →
  4. v4.0.48 31 Jul 2025
    Release notes
    • 增加LazyCollection数据集对象
    • cursor和lazy方法默认返回LazyCollection对象
    • 修正chunk方法主键不存在的情况查询出错问题
    Open source →
  5. v4.0.47 24 Jul 2025
    Release notes
    • 调整getPk方法支持没有主键的表
    • 修正OptimLock的getDbWhere方法参数默认值
    • 模型类和数据集对象增加toView方法
    • 改进autoWriteData方法对于手动写入的自动写入时间字段不再生成
    • 改进视图模型的data方法支持原有属性
    • 改进视图模型的一对多关联写入
    • 改进模型的destory方法增加together参数
    Open source →
  6. v4.0.46 26 Jun 2025
    Release notes
    • 增加lazy惰性查询方法
    • 优化预载入关联查询使用lazy方法
    Open source →
  7. v4.0.45 24 Jun 2025
    Release notes
    • 修正参数绑定
    • 一对多关联增加first和last方法
    • 一对一关联增加firstOfMany和lastOfMany方法
    • 改进视图模型的验证
    • 改进withSearch方法支持搜索规则
    Open source →
  8. v4.0.44 18 Jun 2025
    Release notes
    • 改进关联预载入查询的limit方法
    • 改进数据集的关联预载入查询 使用cursor查询 减少内存开销
    Open source →
  9. v4.0.43 16 Jun 2025
    Release notes

    改进视图模型的自动关联查询 不依赖autoMapping定义 会自动检测关联映射
    改进lazyWrite方法step参数类型

    Open source →
  10. v4.0.42 12 Jun 2025
    Release notes
    • 改进实体模型和视图模型的__unserialize方法
    • 改进save方法自增主键写入
    • 改进getOrigin方法增加类型转换参数
    • 改进视图模型的自动数据验证 支持字段映射
    • 视图模型增加validate_mapping_data配置 用于设置是否验证映射后的数据 默认情况下为验证视图模型的属性而非映射后的属性
    • 模型增加scene方法 用于设置自动验证的场景
    • 修正order方法传数组的别名问题
    Open source →
  11. v4.0.41 28 May 2025

    Nothing published for this version

  12. v4.0.40 27 May 2025

    Nothing published for this version

  13. v4.0.39 22 May 2025

    Nothing published for this version

  14. v4.0.38 21 May 2025

    Nothing published for this version

  15. v4.0.37 20 May 2025

    Nothing published for this version

  16. v4.0.36 15 May 2025

    Nothing published for this version

  17. v4.0.35 14 May 2025

    Nothing published for this version

  18. v4.0.34 14 May 2025

    Nothing published for this version

  19. v4.0.33 13 May 2025

    Nothing published for this version

  20. v4.0.32 08 May 2025

    Nothing published for this version

  21. v4.0.31 08 May 2025

    Nothing published for this version

  22. v4.0.30 07 May 2025

    Nothing published for this version

  23. v4.0.29 30 Apr 2025

    Nothing published for this version

  24. v4.0.28 29 Apr 2025

    Nothing published for this version

  25. v4.0.27 28 Apr 2025

    Nothing published for this version

  26. v4.0.26 25 Apr 2025

    Nothing published for this version

  27. v4.0.25 24 Apr 2025

    Nothing published for this version

  28. v4.0.24 22 Apr 2025

    Nothing published for this version

  29. v4.0.23 21 Apr 2025

    Nothing published for this version

  30. v4.0.22 19 Apr 2025

    Nothing published for this version

  31. v4.0.21 19 Apr 2025

    Nothing published for this version

  32. v4.0.20 16 Apr 2025

    Nothing published for this version

  33. v4.0.19 16 Apr 2025

    Nothing published for this version

  34. v4.0.18 14 Apr 2025

    Nothing published for this version

  35. v4.0.17 11 Apr 2025

    Nothing published for this version

  36. v4.0.16 10 Apr 2025

    Nothing published for this version

  37. v4.0.15 08 Apr 2025

    Nothing published for this version

  38. v4.0.14 08 Apr 2025

    Nothing published for this version

  39. v4.0.13 07 Apr 2025

    Nothing published for this version

  40. v4.0.12 03 Apr 2025

    Nothing published for this version

  41. v4.0.11 02 Apr 2025

    Nothing published for this version

  42. v4.0.10 31 Mar 2025

    Nothing published for this version

  43. v4.0.9 28 Mar 2025

    Nothing published for this version

  44. v4.0.8 27 Mar 2025

    Nothing published for this version

  45. v4.0.7 25 Mar 2025

    Nothing published for this version

  46. v4.0.6 25 Mar 2025

    Nothing published for this version

  47. v4.0.5 24 Mar 2025

    Nothing published for this version

  48. v4.0.4 21 Mar 2025

    Nothing published for this version

  49. v4.0.3 13 Feb 2025

    Nothing published for this version

  50. v4.0.2 12 Feb 2025

    Nothing published for this version

  51. v4.0.1 11 Feb 2025

    Nothing published for this version

  52. v4.0.0 23 Jan 2025

    Nothing published for this version

  53. v3.0.34 14 Jan 2025

    Nothing published for this version

  54. v3.0.33 19 Dec 2024

    Nothing published for this version

  55. v3.0.32 18 Dec 2024

    Nothing published for this version

  56. v3.0.31 10 Dec 2024

    Nothing published for this version

  57. v3.0.30 07 Nov 2024

    Nothing published for this version

  58. v3.0.29 30 Oct 2024

    Nothing published for this version

  59. v3.0.28 10 Oct 2024

    Nothing published for this version

  60. v3.0.27 11 Sep 2024

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive