{"id":13628283,"url":"https://github.com/rpurinton/gemini-php","last_synced_at":"2025-05-07T22:41:02.187Z","repository":{"id":212411901,"uuid":"731432502","full_name":"rpurinton/gemini-php","owner":"rpurinton","description":"A PHP Library for Google Gemini AI","archived":false,"fork":false,"pushed_at":"2025-03-26T03:56:54.000Z","size":99,"stargazers_count":19,"open_issues_count":3,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-27T00:17:23.401Z","etag":null,"topics":["ai","chatbot","client","composer","gemini","google","llm","open-source","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/rpurinton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","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":"2023-12-14T04:23:03.000Z","updated_at":"2025-03-26T03:56:57.000Z","dependencies_parsed_at":"2023-12-31T17:24:54.167Z","dependency_job_id":"f67dbdac-65be-446f-9a54-fadc2a726135","html_url":"https://github.com/rpurinton/gemini-php","commit_stats":null,"previous_names":["rpurinton/gemini-php"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpurinton%2Fgemini-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpurinton%2Fgemini-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpurinton%2Fgemini-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpurinton%2Fgemini-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpurinton","download_url":"https://codeload.github.com/rpurinton/gemini-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252967971,"owners_count":21833244,"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":["ai","chatbot","client","composer","gemini","google","llm","open-source","php"],"created_at":"2024-08-01T22:00:49.499Z","updated_at":"2025-05-07T22:41:02.166Z","avatar_url":"https://github.com/rpurinton.png","language":"PHP","funding_links":[],"categories":["GitHub projects"],"sub_categories":[],"readme":"# Gemini PHP\n\nGemini PHP is a PHP library for interacting with the Gemini AI platform. It provides a client for making requests to the Gemini API and a response class for handling the API responses.\n\n## Prerequisites\n\nPHP 8.2+\nComposer\n\n- Create a Google Cloud Project if you don't already have one.\n- Add the Vertex AI API to your project.\n- Create a Service Account in your project with Basic permissions.\n- Add an API Key and download the credentials JSON.\n- Save your credentials somewhere like /home/you/.google/myproject.json\n  \n## Installation\n\nTo install Gemini PHP, you can use Composer. Run the following command:\n\n```bash\ncomposer require rpurinton/gemini-php\n```\n\n## Usage\n\nPlease see [example.php](example.php) for a basic command-line example.\n\n## Table of Contents\n\n- [Project Documentation](docs/README.md)\n  - [Introduction](docs/introduction.md)\n  - [Installation](docs/installation.md)\n  - [Getting Started](docs/getting-started.md)\n  - [Configuration](docs/configuration.md)\n  - [Usage Examples](docs/usage-examples.md)\n  - [API Reference](docs/api-reference.md)\n  - [Troubleshooting](docs/troubleshooting.md)\n  - [FAQ](docs/faq.md)\n  - [Contributing](docs/contributing.md)\n  - [License](docs/license.md)\n\nFor more detailed usage instructions, please refer to the [Gemini PHP documentation](docs).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpurinton%2Fgemini-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpurinton%2Fgemini-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpurinton%2Fgemini-php/lists"}