{"id":18470330,"url":"https://github.com/illegalstudio/laravel-ai","last_synced_at":"2025-04-08T11:31:41.566Z","repository":{"id":84617531,"uuid":"589712554","full_name":"illegalstudio/laravel-ai","owner":"illegalstudio","description":"A laravel plugin to interact with AI providers","archived":false,"fork":false,"pushed_at":"2023-10-01T16:14:16.000Z","size":149,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-10T18:26:09.400Z","etag":null,"topics":["ai","artificial-intelligence","chatgpt","gpt-3","gpt-4","laravel","machine-learning","openai"],"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/illegalstudio.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}},"created_at":"2023-01-16T19:00:54.000Z","updated_at":"2023-06-28T16:09:12.000Z","dependencies_parsed_at":"2023-10-01T18:23:53.386Z","dependency_job_id":null,"html_url":"https://github.com/illegalstudio/laravel-ai","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illegalstudio%2Flaravel-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illegalstudio%2Flaravel-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illegalstudio%2Flaravel-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illegalstudio%2Flaravel-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illegalstudio","download_url":"https://codeload.github.com/illegalstudio/laravel-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223317875,"owners_count":17125605,"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","artificial-intelligence","chatgpt","gpt-3","gpt-4","laravel","machine-learning","openai"],"created_at":"2024-11-06T10:13:39.001Z","updated_at":"2024-11-06T10:13:39.626Z","avatar_url":"https://github.com/illegalstudio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel AI\n\n\u003e **WARNING:** This package is currently under heavy development and is not yet suitable for production use.\n\nThe Laravel AI package provides an interface for connecting your Laravel application with AI services, particularly with OpenAI. With this package, you can easily:\n\n- Send requests to OpenAI and receive responses\n- Customize the parameters of your requests\n- Keep track of all requests and responses in your database\n- Keep track of the costs of your requests\n\n## Installation\nYou can install the package via composer:\n\n```bash \ncomposer require illegal\\laravel-ai\n```\n\nAfter installation, publish the configuration file:\n\n```bash \nphp artisan vendor:publish --provider=\"[Package Name]ServiceProvider\"\n```\n\n## Configuration\n\nIn the .env file, set your OpenAI API key:\n\n```dotenv\nAI_OPENAI_API_KEY=YOUR_API_KEY\n```\n\n## Command line tools\n\nThis package offers a variety of command line tools that simplify interaction with AI services. Each tool prompts you to specify a provider and a model.\n\nThe tools include:\n\n### Chat\n\n```shell\nphp artisan ai:chat\n```\n\nThis command enables you to initiate a chat with an AI. Once the command is executed, you can begin your conversation.\n\n### Completion\n\n```shell\nphp artisan ai:complete\n```\n\nThis command allows you to request the AI to complete your text. Once the command is executed, you can provide your prompt and the AI will generate a response.\n\n### Image generate\n\n```shell\nphp artisan ai:image:generate\n```\n\nThis command allows you to request the AI to generate an image. Once the command is executed, you can provide your prompt and the AI will generate an image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillegalstudio%2Flaravel-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fillegalstudio%2Flaravel-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillegalstudio%2Flaravel-ai/lists"}