{"id":36979300,"url":"https://github.com/siteorigin/openai-api","last_synced_at":"2026-01-13T22:48:55.609Z","repository":{"id":47873037,"uuid":"381730986","full_name":"siteorigin/openai-api","owner":"siteorigin","description":"PHP wrapper for the OpenAI API.","archived":true,"fork":false,"pushed_at":"2023-11-22T04:57:34.000Z","size":637,"stargazers_count":7,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2024-11-02T01:06:08.720Z","etag":null,"topics":["gpt-3","openai","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/siteorigin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null}},"created_at":"2021-06-30T14:31:13.000Z","updated_at":"2023-11-22T04:58:02.000Z","dependencies_parsed_at":"2023-11-22T05:42:33.518Z","dependency_job_id":null,"html_url":"https://github.com/siteorigin/openai-api","commit_stats":{"total_commits":77,"total_committers":2,"mean_commits":38.5,"dds":"0.20779220779220775","last_synced_commit":"28c00162de3c9089388598b579f65dbbf61ba300"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":"spatie/package-skeleton-php","purl":"pkg:github/siteorigin/openai-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteorigin%2Fopenai-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteorigin%2Fopenai-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteorigin%2Fopenai-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteorigin%2Fopenai-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siteorigin","download_url":"https://codeload.github.com/siteorigin/openai-api/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteorigin%2Fopenai-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28403726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: 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":["gpt-3","openai","php"],"created_at":"2026-01-13T22:48:54.823Z","updated_at":"2026-01-13T22:48:55.603Z","avatar_url":"https://github.com/siteorigin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Archive Notice for the OpenAI PHP Wrapper\n\nThis repository for the OpenAI PHP Wrapper, developed by SiteOrigin, is now archived. For updated and ongoing PHP integration with OpenAI's API, please refer to the [OpenAI PHP Client](https://github.com/openai-php/client) instead.\n\n## Original Repository Details:\n\n- **Repository:** [OpenAI PHP Wrapper by SiteOrigin](https://github.com/siteorigin/openai-api)\n- **Packagist:** [siteorigin/openai-api](https://packagist.org/packages/siteorigin/openai-api)\n- **Functionality:** Facilitated integration with the OpenAI API, offering a PHP-based approach for incorporating GPT-3 into applications.\n\n### Features:\n\n- Provided a comprehensive interface for the OpenAI API in PHP.\n- Simplified syntax for common tasks like generating completions.\n- Supported full API functionality without constraints.\n\n### Example Code Snippet:\n\n```php\nuse SiteOrigin\\OpenAI\\Client;\n$client = new Client($_ENV['OPENAI_API_KEY']);\n// Example usage for generating completions\n$completions = $client-\u003ecompletions('davinci')-\u003ecomplete(\"Sample prompt\", [/* parameters */]);\nforeach($completions as $c) {\n    echo $c-\u003etext . \"\\n\";\n}\n```\n\n### Further Information:\n\nFor those who previously utilized or are interested in this PHP wrapper, it's recommended to transition to the [new OpenAI PHP Client](https://github.com/openai-php/client) for the latest updates and continued support.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiteorigin%2Fopenai-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiteorigin%2Fopenai-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiteorigin%2Fopenai-api/lists"}