{"id":31206313,"url":"https://github.com/kingbes/pebview","last_synced_at":"2026-01-20T16:36:16.293Z","repository":{"id":315370429,"uuid":"1058582029","full_name":"KingBes/pebview","owner":"KingBes","description":"一个跨平台webview 组件 ,它允许在自身原生 GUI 窗口中显示 HTML 内容。它让您可以在桌面应用程序中使用WEB技术，同时隐藏 GUI 依赖浏览器的事实。","archived":false,"fork":false,"pushed_at":"2025-10-06T06:49:48.000Z","size":7438,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T07:25:25.660Z","etag":null,"topics":["desktop","gui","php","webview"],"latest_commit_sha":null,"homepage":"","language":"C","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/KingBes.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,"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":"2025-09-17T09:25:22.000Z","updated_at":"2025-10-06T06:49:51.000Z","dependencies_parsed_at":"2025-09-18T08:35:41.983Z","dependency_job_id":"bbf71282-3866-4c1d-b438-675e113dfadf","html_url":"https://github.com/KingBes/pebview","commit_stats":null,"previous_names":["kingbes/pebview"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/KingBes/pebview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KingBes%2Fpebview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KingBes%2Fpebview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KingBes%2Fpebview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KingBes%2Fpebview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KingBes","download_url":"https://codeload.github.com/KingBes/pebview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KingBes%2Fpebview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003278,"owners_count":26083555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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"}},"keywords":["desktop","gui","php","webview"],"created_at":"2025-09-20T19:41:36.387Z","updated_at":"2026-01-20T16:36:16.282Z","avatar_url":"https://github.com/KingBes.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PebView\n\n\u003e 一个跨平台webview 组件 ,它允许在自身原生 GUI 窗口中显示 HTML 内容。它让您可以在桌面应用程序中使用WEB技术，同时隐藏 GUI 依赖浏览器的事实。\n\n[中文文档](./doc/Chinese/Introduction.md)\n[English document](./doc/English/Introduction.md)\n\n## 要求\n\n- PHP 8.2 或更高版本\n- PHP-FFI 扩展\n- Composer\n- Windows x86_64 \n- Linux x86_64 或 arrch64\n- MacOS x86_64 或 arm64\n\n## 安装\n\n```bash\ncomposer require kingbes/pebview\n```\n\n### 示例\n\n```PHP\n// 根据你的实际情况，修改下面的路径\nrequire \"/vendor/autoload.php\";\n\nuse Kingbes\\PebView\\Window; // 引入 Window 类\n\n// 创建一个窗口\n$win = new Window();\n$win-\u003esetTitle(\"PebView\") // 设置窗口标题\n    -\u003esetHtml( // 设置窗口的 HTML 内容\n        \u003c\u003c\u003cHTML\n    \u003ch1\u003ehello PebView!\u003c/h1\u003e\nHTML)\n    // 运行窗口\n    -\u003erun()\n    // 销毁窗口\n    -\u003edestroy();\n```\n\n![](./test/demo.png)\n\n### 编译\n\n有关先决条件，请阅读文件\n\n```bash\n./source/build.cmd // windows\n\n./source/linux.sh // linux\n\n./source/macos.sh // macos\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingbes%2Fpebview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkingbes%2Fpebview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingbes%2Fpebview/lists"}