{"id":738245,"name":"topthink/thinkphp","ecosystem":"packagist","description":"the ThinkPHP Framework","homepage":"http://thinkphp.cn/","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/top-think/thinkphp","keywords_array":["framework","orm","thinkphp"],"namespace":"topthink","versions_count":4,"first_release_published_at":"2014-06-13T01:57:07.000Z","latest_release_published_at":"2018-10-21T08:26:55.000Z","latest_release_number":"v3.2.5","last_synced_at":"2026-09-14T09:04:41.626Z","created_at":"2022-04-07T11:43:48.127Z","updated_at":"2026-09-14T13:18:28.809Z","registry_url":"https://packagist.org/packages/topthink/thinkphp#","install_command":"composer require topthink/thinkphp","documentation_url":null,"metadata":{"funding":null},"repo_metadata":{"id":43650282,"uuid":"2536618","full_name":"top-think/thinkphp","owner":"top-think","description":"ThinkPHP3.2 ——基于PHP5的简单快速的面向对象的PHP框架","archived":true,"fork":false,"pushed_at":"2019-05-23T07:40:11.000Z","size":9433,"stargazers_count":2899,"open_issues_count":305,"forks_count":1480,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-08-22T19:59:26.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.thinkphp.cn","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/top-think.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-08T03:25:03.000Z","updated_at":"2026-08-16T16:41:16.000Z","dependencies_parsed_at":"2022-08-29T10:10:35.443Z","dependency_job_id":null,"html_url":"https://github.com/top-think/thinkphp","commit_stats":null,"previous_names":["liu21st/thinkphp"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/top-think/thinkphp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/top-think","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":37018819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-01T02:00:05.433Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"top-think","name":"ThinkPHP","uuid":"16305258","kind":"organization","description":"ThinkPHP官方团队","email":null,"website":"http://www.thinkphp.cn","location":"china","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/16305258?v=4","repositories_count":48,"last_synced_at":"2024-10-29T17:10:22.428Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/top-think","funding_links":[],"total_stars":16596,"followers":228,"following":0,"created_at":"2022-11-04T14:26:46.688Z","updated_at":"2024-10-29T17:10:22.428Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/top-think","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/top-think/repositories"},"tags":[{"name":"v3.2.5","sha":"45489acfa131cf47efa61e85be05bedc8c3c94cf","kind":"commit","published_at":"2018-10-21T08:26:55.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/v3.2.5","html_url":"https://github.com/top-think/thinkphp/releases/tag/v3.2.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@v3.2.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/v3.2.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/v3.2.5/manifests"},{"name":"3.2.4","sha":"728c0fc21e9b438b930b916a8257a25ea9ffaf79","kind":"commit","published_at":"2018-09-12T10:02:21.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.2.4","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.2.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.2.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.4/manifests"},{"name":"3.2.3","sha":"94d5c5ef980be6a3f31d6938e5cbf997f6cdb4a2","kind":"commit","published_at":"2015-10-08T06:19:21.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.2.3","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.3/manifests"},{"name":"3.2.2","sha":"78a141a435e95d22bcda81c1f98f1776381744b3","kind":"commit","published_at":"2014-06-13T01:57:07.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.2.2","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.2/manifests"},{"name":"3.2.1","sha":"5a54fc1fd17f2114b418911b336d4df456636ed3","kind":"commit","published_at":"2014-02-17T10:46:23.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.2.1","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.1/manifests"},{"name":"3.2.0","sha":"1706475360a969459b040f2aba16d3adf4e701e4","kind":"tag","published_at":"2014-02-03T12:18:02.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.2.0","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.2.0/manifests"},{"name":"3.1.3","sha":"dad6acbf4f56891f267a3e10e9f2f0478c4837eb","kind":"commit","published_at":"2013-06-07T06:42:38.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.1.3","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.3/manifests"},{"name":"3.1.2","sha":"a3b488d6c4a51eeb39a727e6fef30da91da9a658","kind":"tag","published_at":"2012-11-18T13:03:55.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.1.2","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.2/manifests"},{"name":"3.1.0","sha":"8e79fe371692665f60d906d2d02679b8bbe93a3d","kind":"tag","published_at":"2012-10-19T09:38:38.000Z","download_url":"https://codeload.github.com/top-think/thinkphp/tar.gz/3.1.0","html_url":"https://github.com/top-think/thinkphp/releases/tag/3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/top-think/thinkphp@3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/tags/3.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-07T09:39:43.284Z","dependent_packages_count":2,"downloads":23040,"downloads_period":"total","dependent_repos_count":11,"rankings":{"downloads":7.29680430440631,"dependent_repos_count":3.848211692408037,"dependent_packages_count":6.032031552557021,"stargazers_count":0.12763420698650796,"forks_count":0.03897811111564016,"docker_downloads_count":null,"average":3.468731973494703},"purl":"pkg:composer/topthink/thinkphp","advisories":[{"uuid":"GSA_kwCzR0hTQS1wamh4LWo1M3AtYzVmNc4ABA1L","url":"https://github.com/advisories/GHSA-pjhx-j53p-c5f5","title":"ThinkPHP deserialization vulnerability","description":"A deserialization vulnerability in the component \\controller\\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2024-10-30T21:30:40.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.9,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","references":["https://nvd.nist.gov/vuln/detail/CVE-2024-48112","https://github.com/nn0nkey/nn0nkey/blob/main/Thinkphp/CVE-2024-48112.md","https://github.com/top-think/think","https://github.com/advisories/GHSA-pjhx-j53p-c5f5"],"source_kind":"github","identifiers":["GHSA-pjhx-j53p-c5f5","CVE-2024-48112"],"repository_url":"https://github.com/nn0nkey/nn0nkey","blast_radius":9.268394897908204,"created_at":"2024-10-30T23:06:12.905Z","updated_at":"2026-09-14T12:07:19.241Z","epss_percentage":0.00885,"epss_percentile":0.56911,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wamh4LWo1M3AtYzVmNc4ABA1L","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1wamh4LWo1M3AtYzVmNc4ABA1L","packages":[{"ecosystem":"packagist","package_name":"topthink/thinkphp","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003e= 6.1.3, \u003c= 8.0.4"}],"purl":null}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wamh4LWo1M3AtYzVmNc4ABA1L/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS1tN2g1LWZqanEtNTU5Zs0WEg","url":"https://github.com/advisories/GHSA-m7h5-fjjq-559f","title":"SQL Injection in topthink/thinkphp","description":"ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when the array is not passed to the \"where\" and \"query\" methods.","origin":"UNSPECIFIED","severity":"CRITICAL","published_at":"2021-09-30T17:11:11.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":9.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2020-20120","https://github.com/top-think/thinkphp/issues/553","https://github.com/advisories/GHSA-m7h5-fjjq-559f"],"source_kind":"github","identifiers":["GHSA-m7h5-fjjq-559f","CVE-2020-20120"],"repository_url":"https://github.com/top-think/thinkphp","blast_radius":0.0,"created_at":"2022-12-21T16:12:45.766Z","updated_at":"2026-08-15T20:21:17.628Z","epss_percentage":0.01807,"epss_percentile":0.76531,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tN2g1LWZqanEtNTU5Zs0WEg","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1tN2g1LWZqanEtNTU5Zs0WEg","packages":[{"ecosystem":"packagist","package_name":"topthink/thinkphp","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 3.2.3"}],"purl":null}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tN2g1LWZqanEtNTU5Zs0WEg/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/packagist/topthink/thinkphp","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/packagist/topthink/thinkphp","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/packagist/topthink/thinkphp/dependencies","status":"abandoned","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-04T05:34:53.398Z","issues_count":71,"pull_requests_count":33,"avg_time_to_close_issue":38781433.0,"avg_time_to_close_pull_request":172260745.2777778,"issues_closed_count":26,"pull_requests_closed_count":18,"pull_request_authors_count":25,"issue_authors_count":60,"avg_comments_per_issue":1.8169014084507042,"avg_comments_per_pull_request":0.06060606060606061,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/top-think%2Fthinkphp/issues","maintainers":[{"login":"vus520","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/vus520"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/topthink%2Fthinkphp/codemeta","maintainers":[{"uuid":"topthink","login":"topthink","name":null,"email":null,"url":null,"packages_count":40,"html_url":"https://packagist.org/users/topthink","role":null,"created_at":"2022-11-20T09:18:29.851Z","updated_at":"2022-11-20T09:18:29.851Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers/topthink/packages"}]}