{"id":15722078,"url":"https://github.com/ghostjat/gtk","last_synced_at":"2025-06-16T03:33:55.251Z","repository":{"id":62510563,"uuid":"427648920","full_name":"ghostjat/gtk","owner":"ghostjat","description":"php ffi gtk","archived":false,"fork":false,"pushed_at":"2022-12-29T20:35:05.000Z","size":187,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T06:02:47.208Z","etag":null,"topics":["ffi","gtk3","gui","php"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghostjat.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":"2021-11-13T11:40:33.000Z","updated_at":"2024-10-03T10:02:02.000Z","dependencies_parsed_at":"2023-01-31T09:45:58.788Z","dependency_job_id":null,"html_url":"https://github.com/ghostjat/gtk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostjat%2Fgtk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostjat%2Fgtk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostjat%2Fgtk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostjat%2Fgtk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostjat","download_url":"https://codeload.github.com/ghostjat/gtk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253862740,"owners_count":21975583,"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","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":["ffi","gtk3","gui","php"],"created_at":"2024-10-03T22:03:44.718Z","updated_at":"2025-05-13T02:50:53.259Z","avatar_url":"https://github.com/ghostjat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Gtk - Gui Toolkit Bindings for php\n================================================\n\nGtk written in pure php using FFI_.\n\n**Development Status:**\nWARNING: API is unstable\nWARNING: Lots of things are not implemented/supported.\n\nSee the 'examples' directory for working examples.\nAnything else will probably not work.\n\n**Code:** https://github.com/ghostjat/gtk\n\n**License:** LGPL 2.1+\n\n**Requirements:**\n\n- php_ 7.4+\n- FFI_\n\n.. _ffi: https://www.php.net/manual/en/class.ffi\n.. _php: http://www.php.net/\n\nINSTALL\n-------\ncomposer require ghostjat/gtk\n\nUsage\n-----\n\n```require dirname(__DIR__).'/vendor/autoload.php';\n\nuse gtk\\core;\nuse gtk\\window;\nuse gtk\\webView;\n\n$window = new window();\n$window-\u003eset_title('php-webkit');\n$window-\u003eset_default_size(400, 240);\n$webview = new webView();\n$window-\u003eadd($webview);\n$webview-\u003eloadURL('https://github.com/ghostjat/gtk');\n$window-\u003eshow_all();\n$window-\u003econnect('destroy', function(){\n    core::main_quit();\n});\ncore::main();\n```\n\nSearch paths\n~~~~~~~~~~~~\n\nTODO\n\nDocumentation\n-------------\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostjat%2Fgtk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostjat%2Fgtk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostjat%2Fgtk/lists"}