{"id":22688411,"url":"https://github.com/javanile/php-imap2","last_synced_at":"2025-04-05T10:08:22.425Z","repository":{"id":42514629,"uuid":"491591501","full_name":"javanile/php-imap2","owner":"javanile","description":"PHP IMAP with OAUTH2","archived":false,"fork":false,"pushed_at":"2024-06-13T12:24:28.000Z","size":1164,"stargazers_count":56,"open_issues_count":47,"forks_count":36,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T09:08:47.356Z","etag":null,"topics":["email","imap","oauth2","php"],"latest_commit_sha":null,"homepage":"https://php-imap2.javanile.org/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javanile.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-05-12T16:34:10.000Z","updated_at":"2025-02-12T14:41:14.000Z","dependencies_parsed_at":"2024-06-18T20:13:37.404Z","dependency_job_id":"d3063770-8283-4c0b-93c9-6740115fb19a","html_url":"https://github.com/javanile/php-imap2","commit_stats":{"total_commits":237,"total_committers":3,"mean_commits":79.0,"dds":0.008438818565400852,"last_synced_commit":"36f1769f6d0c14ce7b99da48747725864bad7870"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fphp-imap2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fphp-imap2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fphp-imap2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fphp-imap2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javanile","download_url":"https://codeload.github.com/javanile/php-imap2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318744,"owners_count":20919484,"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":["email","imap","oauth2","php"],"created_at":"2024-12-10T00:14:18.518Z","updated_at":"2025-04-05T10:08:22.401Z","avatar_url":"https://github.com/javanile.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# ⭐ Give me a star, please! ⭐\n\n\u003cimg src=\"https://raw.githubusercontent.com/francescobianco/gif/main/images/give-stars-h192.gif\" /\u003e\u003cimg src=\"https://raw.githubusercontent.com/francescobianco/gif/main/images/push-button-h192.gif\" /\u003e\n\n\u003c/div\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n![PHP IMAP2](docs/logo.png)\n\n# PHP IMAP2\n\n[![Linter](https://github.com/javanile/php-imap2/actions/workflows/linter.yml/badge.svg)](https://github.com/javanile/php-imap2/actions/workflows/linter.yml)\n\n\u003c/div\u003e\n\n## Requirements\n\n- PHP \u003e= 7.0\n\n## Install\n\n```shell\ncomposer require javanile/php-imap2\n```\n\nor\n\nDownload latest release \n\n## Usage\n\n```php\n$mbh = imap2_open($server, $username, $token, OP_XOAUTH2);\nif (! $mbh) {\n    error_log(imap2_last_error());\n    throw new \\RuntimeException('Unable to open the INBOX');\n}\n```\n\n## Gmail OAuth2\n\nScope: https://mail.google.com/\n\n## Sandbox\n\n- [Gmail Demo](https://replit.com/@frabik/PHP-IMAP2-Google-Demo?v=1#main.php)\n- Outlook Demo - **COMING SOON**\n\n\n## Contributors\n\n- [dicode-nl](https://github.com/dicode-nl)\n- [glensc](https://github.com/glensc)\n- [bago](https://github.com/bago)\n\n## Other links \n\n- \u003chttps://php.libhunt.com/php-imap2-alternatives\u003e\n\n## Reference\n\n### Microsoft Outlook\n\n- \u003chttp://wiki.canfigure.net/en/guides/exchange-oauth2\u003e\n\n### IMAP \u0026 OAUTH\n\n- \u003chttps://www.atmail.com/blog/imap-commands/\u003e\n- \u003chttps://developers.google.com/gmail/imap/xoauth2-protocol\u003e\n- \u003chttps://github.com/ddeboer/imap/issues/443#issuecomment-1172158902\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fphp-imap2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavanile%2Fphp-imap2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fphp-imap2/lists"}