{"id":22974232,"url":"https://github.com/diversen/tiny-gpt-api","last_synced_at":"2025-10-07T14:56:56.572Z","repository":{"id":149799687,"uuid":"622180930","full_name":"diversen/tiny-gpt-api","owner":"diversen","description":"A tiny GPT api client for PHP","archived":false,"fork":false,"pushed_at":"2024-02-07T19:01:13.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T09:24:31.313Z","etag":null,"topics":["gpt","gpt-php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diversen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-04-01T11:10:51.000Z","updated_at":"2023-04-20T22:26:24.000Z","dependencies_parsed_at":"2023-07-11T07:33:25.164Z","dependency_job_id":null,"html_url":"https://github.com/diversen/tiny-gpt-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Ftiny-gpt-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Ftiny-gpt-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Ftiny-gpt-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Ftiny-gpt-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/tiny-gpt-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771748,"owners_count":20831094,"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":["gpt","gpt-php"],"created_at":"2024-12-15T00:00:28.915Z","updated_at":"2025-10-07T14:56:51.550Z","avatar_url":"https://github.com/diversen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shell-gpt-php\n\nA tiny GPT client with no dependencies. \n\n## Installation\n\n    composer require diversen/tiny-gpt-client\n\n## Usage\n\nThe API has methods for completions and chat completions\n\n* /completions\n* /chat/completions\n\nFor both endpoints there is streaming and non-streaming\nresponses. \n\nWhen streaming the response the token usage is calculated using\na `Token` class. This may not be an exact calculation.\n\nWhen using the non-streaming response the usage of tokens \nshould be exact. \n\n## Usage example\n\nSee: [example](example/index.php)\n\n## License\n\nMIT © [Dennis Iversen](https://github.com/diversen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Ftiny-gpt-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Ftiny-gpt-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Ftiny-gpt-api/lists"}