{"id":15027029,"url":"https://github.com/scorninpc/php-gtk3","last_synced_at":"2025-04-05T06:09:33.215Z","repository":{"id":15157672,"uuid":"17885270","full_name":"scorninpc/php-gtk3","owner":"scorninpc","description":"GTK3  extension for PHP","archived":false,"fork":false,"pushed_at":"2025-02-10T15:45:24.000Z","size":78405,"stargazers_count":122,"open_issues_count":22,"forks_count":13,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-29T05:09:31.233Z","etag":null,"topics":["gtk","linux","php","php7","php8","windows"],"latest_commit_sha":null,"homepage":"https://andor.com.br/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scorninpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","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},"funding":{"github":"scorninpc"}},"created_at":"2014-03-18T23:13:00.000Z","updated_at":"2025-02-10T15:45:29.000Z","dependencies_parsed_at":"2023-11-27T17:30:16.512Z","dependency_job_id":"455162dc-63e0-41e1-9169-619f22b12f0c","html_url":"https://github.com/scorninpc/php-gtk3","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorninpc%2Fphp-gtk3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorninpc%2Fphp-gtk3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorninpc%2Fphp-gtk3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scorninpc%2Fphp-gtk3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scorninpc","download_url":"https://codeload.github.com/scorninpc/php-gtk3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294541,"owners_count":20915340,"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":["gtk","linux","php","php7","php8","windows"],"created_at":"2024-09-24T20:05:38.936Z","updated_at":"2025-04-05T06:09:33.186Z","avatar_url":"https://github.com/scorninpc.png","language":"C++","funding_links":["https://github.com/sponsors/scorninpc"],"categories":[],"sub_categories":[],"readme":"\n# PHP-GTK3\n\nPHP-GTK is a bind of GTK 3 to create desktop applications with PHP\n\n## Acknowledgements\n\n - [Compile for window](https://github.com/scorninpc/php-gtk3/blob/master/docs/compile-windows.md)\n - [Compile for linux](https://github.com/scorninpc/php-gtk3/blob/master/docs/compile-linux.md)\n - [Compile for mac](https://github.com/scorninpc/php-gtk3/blob/master/docs/compile-mac.md)\n - [Compile source with docker](https://github.com/scorninpc/php-gtk3/blob/master/docs/compile-docker.md)\n - [Appimage](https://github.com/scorninpc/php-gtk3/blob/master/docs/appimage.md)\n\n## Contributing\n\nContributions are always welcome!\n\nSee [issues](https://github.com/scorninpc/php-gtk3/issues) for problems and improvements.\n\n## How its works\n\nPHP-GTK3 work with a middleway of [PHP-CPP](https://github.com/CopernicaMarketingSoftware/PHP-CPP). In addition to making work faster, syntax and how to program closely resemble PHP, so more people can contribute to the project. Another strong point, perhaps the most important are the updates of Zend.h. In the migration from PHP5 to PHP7 for example, every bind was lost. In that way, there is a nice community working on PHP-CPP to make this updated\n\n## PHP-GTK 3 Cookbook\n\nYou can find a cookbook of codes compiled and organized in http://andor.com.br/php-gtk/cookbook\n\n## VSCode\n\nThis is [VSCode extension](https://marketplace.visualstudio.com/items?itemName=RobertBeran.PHPGTK3Syntax) (not official) written by [subabrain](https://github.com/subabrain)\n\n## Example\n\n```php\n\u003c?php\n\n// Initialize\nGtk::init();\n\n// Callback for when window is closed\nfunction GtkWindowDestroy($widget=NULL, $event=NULL)\n{\n\tGtk::main_quit();\n}\n\n// Create a window\n$win = new GtkWindow();\n$win-\u003eset_default_size(300, 200);\n\n// Connect \"close\" event with callback\n$win-\u003econnect(\"destroy\", \"GtkWindowDestroy\");\n\n// Show window\n$win-\u003eshow_all();\n\n// Start\nGtk::main();\n```\n\n## Involved\n\n- [@scorninpc](https://www.github.com/scorninpc) - Main dev\n- [@subabrain](https://www.github.com/subabrain) - Thank you for your hard work to compile on Windows\n- [@apss-pohl](https://github.com/apss-pohl) - A lot fixes and improvements\n\n## Screenshots\n\n![GTKTreeview](https://i.imgur.com/zrO87QV.jpg)\n\n![GTKTreeview](https://i.imgur.com/NeEjyLj.jpg)\n\n![GTK interactive debugger](https://i.imgur.com/P50OpKF.jpg)\n\n![GTK interactive debugger](https://i.imgur.com/NZkie9R.jpg)\n\n![Widgets](https://i.imgur.com/UpBIYQB.jpg)\n\n![Tooltips](https://i.imgur.com/cGECrWu.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscorninpc%2Fphp-gtk3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscorninpc%2Fphp-gtk3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscorninpc%2Fphp-gtk3/lists"}