{"id":19001737,"url":"https://github.com/ledccn/likeadmin","last_synced_at":"2026-02-17T05:01:57.912Z","repository":{"id":227681067,"uuid":"772144692","full_name":"ledccn/likeadmin","owner":"ledccn","description":"Webman plugin ledc/likeadmin，兼容likeadmin用户","archived":false,"fork":false,"pushed_at":"2025-01-07T03:57:57.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T03:45:51.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ledccn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-14T16:09:01.000Z","updated_at":"2025-01-07T03:57:53.000Z","dependencies_parsed_at":"2024-11-08T18:12:36.391Z","dependency_job_id":"3914b262-adb4-4f81-9423-e6a3b352fb63","html_url":"https://github.com/ledccn/likeadmin","commit_stats":null,"previous_names":["ledccn/likeadmin"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/ledccn/likeadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledccn%2Flikeadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledccn%2Flikeadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledccn%2Flikeadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledccn%2Flikeadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ledccn","download_url":"https://codeload.github.com/ledccn/likeadmin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledccn%2Flikeadmin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29534447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-08T18:12:30.775Z","updated_at":"2026-02-17T05:01:57.772Z","avatar_url":"https://github.com/ledccn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 兼容likeadmin用户的webman中间件\n\n## 初衷\n\n复用likeadmin的基础功能和手机端uniapp源码，提高开发效率；\n\n使用常驻内存的webman来开发新功能。\n\n\n\n## 安装插件\n\n`composer require ledc/likeadmin`\n\n\n\n## Nginx伪静态\n\n\n### 使用命令生成nginx配置文件：\n```shell\nphp webman likeadmin:nginx likeadmin_proxy\n```\n\n\n### 生成的配置文件示例：\n```conf\nlocation ~ ^/(likeadmin|like)\n{\n  proxy_set_header X-Real-IP $remote_addr;\n  proxy_set_header Host $host;\n  proxy_set_header X-Forwarded-Proto $scheme;\n  proxy_http_version 1.1;\n  proxy_set_header Connection \"\";\n  if (!-f $request_filename){\n    proxy_pass http://127.0.0.1:8787;\n  }\n}\n```\n\n\n## 原理\n\n配置Nginx伪静态后，所有请求地址以`likeadmin`或`like`开头的接口，都由webman来处理。\n\n\n## 自定义前缀\n\n修改`likeadmin`或`like`：\n\n1.修改`config/plugin/ledc/likeadmin/middleware.php`\n\n2.使用命令重新生成nginx配置文件\n\n\n\n## 其他\n\n仓库地址：https://github.com/ledccn/likeadmin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledccn%2Flikeadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fledccn%2Flikeadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledccn%2Flikeadmin/lists"}