{"id":18264365,"url":"https://github.com/vickypandey14/gemini-php","last_synced_at":"2026-04-11T22:02:16.575Z","repository":{"id":227904427,"uuid":"772624240","full_name":"vickypandey14/Gemini-PHP","owner":"vickypandey14","description":"I've developed Gemini-PHP, a PHP application designed to work smoothly with the Gemini API. This tool makes it easy for users to create content simply by providing their prompts.","archived":false,"fork":false,"pushed_at":"2024-10-10T05:45:52.000Z","size":685,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T19:51:18.403Z","etag":null,"topics":["ajax","deepmind","gemini","gemini-ai","gemini-api","gemini-pro","geminiphp","javascript","jquery","php","php8"],"latest_commit_sha":null,"homepage":"","language":"Hack","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vickypandey14.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-15T15:03:45.000Z","updated_at":"2024-10-10T05:45:55.000Z","dependencies_parsed_at":"2024-03-20T11:54:42.022Z","dependency_job_id":"44b7b2d9-bfa8-49dc-88a4-4ad22aeaf22c","html_url":"https://github.com/vickypandey14/Gemini-PHP","commit_stats":null,"previous_names":["vickypandey14/gemini-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vickypandey14%2FGemini-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vickypandey14%2FGemini-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vickypandey14%2FGemini-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vickypandey14%2FGemini-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vickypandey14","download_url":"https://codeload.github.com/vickypandey14/Gemini-PHP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247956311,"owners_count":21024538,"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":["ajax","deepmind","gemini","gemini-ai","gemini-api","gemini-pro","geminiphp","javascript","jquery","php","php8"],"created_at":"2024-11-05T11:14:28.686Z","updated_at":"2026-04-11T22:02:16.569Z","avatar_url":"https://github.com/vickypandey14.png","language":"Hack","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/vickypandey14/Gemini-PHP/main/public/images/final_keyword_header.width-1200.png\"\u003e\n\n# Gemini API Integration in PHP\n\n### This repository contains a PHP application that integrates with the Gemini API for generating content based on user prompts.\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/vickypandey14/Gemini-PHP.git\n   ```\n   \n3. Navigate to the project directory:\n   ```bash\n   cd Gemini-PHP\n   ```\n4. Install dependencies using Composer:\n   ```bash\n   composer install\n   ```\n\n## Usage\n1. Configure your Gemini API key in `response.php` (or `api/get-response.php` if using the API endpoint).\n2. Open `index.php` in a web browser.\n3. Enter a prompt in the input field.\n4. Click on the \"Generate Response\" button.\n5. View the generated response.\n\n## API\nA new folder named `api` has been added, containing the `get-response.php` file. This file is responsible for handling requests to the Gemini API, generating responses based on user input. To use this API:\n\n1. Ensure the Gemini API key is set in `get-response.php`.\n2. Send a POST request with a JSON body containing the `text` field to receive a generated response.\n\n## Contributing\nContributions are welcome! Feel free to fork the repository and submit pull requests with improvements, bug fixes, or new features.\n\n## License\nThis project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.\n\n## Author\n[Vivek Chandra Pandey (Vicky)](https://github.com/vickypandey14)\n\nFor any questions or support, please open an issue on GitHub: [Gemini-PHP Issues](https://github.com/vickypandey14/Gemini-PHP/issues)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickypandey14%2Fgemini-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvickypandey14%2Fgemini-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickypandey14%2Fgemini-php/lists"}