{"id":40698958,"url":"https://github.com/sycit/framework","last_synced_at":"2026-01-21T11:41:46.388Z","repository":{"id":57063470,"uuid":"208727765","full_name":"sycit/framework","owner":"sycit","description":"ThinkPMS Framework","archived":false,"fork":false,"pushed_at":"2019-10-30T17:44:36.000Z","size":298,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T09:22:23.191Z","etag":null,"topics":["framework","sycit","thinkpms"],"latest_commit_sha":null,"homepage":"http://www.sycit.cn","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sycit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-16T06:38:13.000Z","updated_at":"2019-10-30T17:35:11.000Z","dependencies_parsed_at":"2022-08-24T14:01:12.835Z","dependency_job_id":null,"html_url":"https://github.com/sycit/framework","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sycit/framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sycit%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sycit%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sycit%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sycit%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sycit","download_url":"https://codeload.github.com/sycit/framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sycit%2Fframework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["framework","sycit","thinkpms"],"created_at":"2026-01-21T11:41:46.289Z","updated_at":"2026-01-21T11:41:46.353Z","avatar_url":"https://github.com/sycit.png","language":"PHP","readme":"ThinkPMS 1.0\n===============\n\n\u003e 运行环境要求 PHP7.1+\n\u003e \n\u003e ThinkPMS 是一款只为API接口服务的框架\n\u003e\n\u003e 精简的代码和直观的目录，轻量又迅捷\n\n#### 主要特性\n\n* 采用`PHP7`强类型（严格模式）\n* 支持更多的`PSR`规范\n* 原生多应用支持\n* 更强大和易用的查询\n* 全新的事件系统\n* 模型事件和数据库事件统一纳入事件系统\n* 内部功能中间件化\n* SeasLog 更轻量的高性能日志系统\n* Annotation 简洁直观的注解管理\n* 友好直观的开发者调试输出\n* 对IDE更加友好\n* 迅捷响应的速度，高REQ的吞吐率，低消耗的内存占比\n\n#### 安装方法\n\n\t//如链接速度慢，可更换 composer 源\n\tcomposer config -g repo.packagist composer https://mirrors.aliyun.com/composer/\n\t\n\t// 核心安装\n\tcomposer update sycit/framework\n\n#### SeasLog 安装方法\n\n下载对应版本 目前是 2.0.2 版本\n\n\thttps://pecl.php.net/package/SeasLog\n\nphp.ini 配置 windows例子\n\n\t[SeasLog]\n\t;添加扩展\n\textension=php_seaslog\n\t;=================================================\n\t;===============     SeasLog 配置     ============\n\t;=================================================\n\t;默认log根目录\n\tseaslog.default_basepath = D:/wwwroot\n\t;默认logger目录\n\tseaslog.default_logger = \"default\"\n\t;日期格式配置 默认\"Y-m-d H:i:s\"\n\tseaslog.default_datetime_format = \"Y-m-d H:i:s\"\n\t;日志格式模板 默认\"%T | %L | %P | %Q | %t | %M\"\n\tseaslog.default_template = \"%T | %L | %H | %P | %Q | %t | %m  | %D | %R | %M\"\n\t;是否以目录区分Logger 1是(默认) 0否\n\tseaslog.disting_folder = 1\n\t;是否以type分文件 1是 0否(默认)\n\tseaslog.disting_type = 1\n\t;是否每小时划分一个文件 1是 0否(默认)\n\tseaslog.disting_by_hour = 0\n\t;是否启用buffer 1是 0否(默认)\n\tseaslog.use_buffer = 1\n\t;buffer中缓冲数量 默认0(不使用buffer_size)\n\tseaslog.buffer_size = 100\n\t;cli运行时关闭buffer\n\t;1是 0否(默认)\n\tseaslog.buffer_disabled_in_cli = 0\n\t;记录日志级别，数字越大，根据级别记的日志越多。\n\t;0-EMERGENCY 1-ALERT 2-CRITICAL 3-ERROR 4-WARNING 5-NOTICE 6-INFO 7-DEBUG 8-ALL\n\t;默认8(所有日志)\n\t;\n\t;   注意, 该配置项自1.7.0版本开始有变动。\n\t;   在1.7.0版本之前, 该值数字越小，根据级别记的日志越多: \n\t;   0-all 1-debug 2-info 3-notice 4-warning 5-error 6-critical 7-alert 8-emergency\n\t;   1.7.0 之前的版本，该值默认为0(所有日志);\n\tseaslog.level = 8\n\t;日志函数调用回溯层级\n\t;影响预定义变量 %F 中的行数 默认0\n\tseaslog.recall_depth = 0\n\t;自动记录notice 默认0(关闭)\n\tseaslog.trace_notice = 0\n\t;自动记录warning 默认0(开启)\n\tseaslog.trace_warning = 0\n\t;自动记录错误 默认1(开启)\n\tseaslog.trace_error = 1\n\t;自动记录异常信息 默认0(关闭)\n\tseaslog.trace_exception = 0\n\t;日志存储介质 1File 2TCP 3UDP (默认为1)\n\tseaslog.appender = 1\n\t;写入重试次数默认0(不重试)\n\tseaslog.appender_retry = 0\n\t;接收ip 默认127.0.0.1 (当使用TCP或UDP时必填)\n\tseaslog.remote_host = \"127.0.0.1\"\n\t;接收端口 默认514 (当使用TCP或UDP时必填)\n\tseaslog.remote_port = 514\n\t;接收端口的超时时间 默认1秒\n\tseaslog.remote_timeout = 1\n\t;过滤日志中的回车和换行符 (默认为0)\n\tseaslog.trim_wrap = 0\n\t;是否开启抛出SeasLog自身异常  1开启(默认) 0否\n\tseaslog.throw_exception = 1\n\t;是否开启忽略SeasLog自身warning  1开启(默认) 0否\n\tseaslog.ignore_warning = 1\n\n\n\u003e 更多请参考 https://gitee.com/neeke/SeasLog\n\n#### 版权信息\n\nThinkPMS遵循 MIT 许可发布，并提供免费使用。\n\n本项目包含的第三方源码和二进制文件之版权信息另行标注。\n\n版权所有Copyright © 2019 by ThinkPMS (http://sycit.cn)\n\nAll rights reserved。\n\nThinkPMS 著作权所有者为佛山市三叶草网络有限公司。\n\n更多细节参阅 [LICENSE.txt](LICENSE.txt)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsycit%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsycit%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsycit%2Fframework/lists"}