{"id":40136376,"url":"https://github.com/PapaRascal2020/sidekick","last_synced_at":"2026-01-28T06:01:02.896Z","repository":{"id":255437459,"uuid":"850344872","full_name":"PapaRascal2020/sidekick","owner":"PapaRascal2020","description":"Say hello to Sidekick! A Laravel package that provides a common syntax for using Claude, Mistral, Cohere and OpenAi APIs.","archived":false,"fork":false,"pushed_at":"2025-07-02T09:23:15.000Z","size":6011,"stargazers_count":26,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T10:44:09.692Z","etag":null,"topics":["ai","claude-ai","cohere","laravel-package","mistralai","open-source","openai"],"latest_commit_sha":null,"homepage":"https://sidekickforlaravel.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PapaRascal2020.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-31T14:12:31.000Z","updated_at":"2025-07-02T09:23:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"825c6f63-91ff-40cb-b81e-704ce8e06fe4","html_url":"https://github.com/PapaRascal2020/sidekick","commit_stats":null,"previous_names":["paparascal2020/sidekick"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/PapaRascal2020/sidekick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fsidekick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fsidekick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fsidekick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fsidekick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PapaRascal2020","download_url":"https://codeload.github.com/PapaRascal2020/sidekick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapaRascal2020%2Fsidekick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28840331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T05:50:12.573Z","status":"ssl_error","status_checked_at":"2026-01-28T05:49:54.528Z","response_time":57,"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":["ai","claude-ai","cohere","laravel-package","mistralai","open-source","openai"],"created_at":"2026-01-19T14:00:30.963Z","updated_at":"2026-01-28T06:01:02.889Z","avatar_url":"https://github.com/PapaRascal2020.png","language":"PHP","funding_links":[],"categories":["Laravel \u0026 Framework Integrations","LLM Clients \u0026 Adapters"],"sub_categories":["LLM \u0026 AI clients"],"readme":"\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://laravel.com\"\u003e\u003cimg alt=\"Laravel Plugin\" src=\"https://img.shields.io/badge/Laravel%20Plugin-red?logo=laravel\u0026logoColor=white\"/\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n    \u003cimg alt=\"Status\" src=\"https://img.shields.io/badge/Project-Active-green\"/\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;\n    \u003cimg alt=\"Latest Version\" src=\"https://img.shields.io/packagist/v/paparascaldev/sidekick?label=Latest\"/\u003e \u0026nbsp;\u0026nbsp;\n    \u003cimg alt=\"Stability\" src=\"https://img.shields.io/badge/Stability-beta-yellow\"/\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;\n    \u003ca href=\"https://packagist.org/packages/paparascaldev/sidekick\"\u003e\u003cimg alt=\"Status\" src=\"https://img.shields.io/badge/Packagist-F28D1A?logo=Packagist\u0026logoColor=white\"/\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\n    \u003cimg alt=\"Tests\" src=\"https://github.com/PapaRascal2020/sidekick/actions/workflows/laravel.yml/badge.svg\" /\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/PapaRascal2020/sidekick/wiki/2.-Install-Guide\"\u003eInstallation Guide\u003c/a\u003e | \u003ca href=\"https://github.com/PapaRascal2020/sidekick/wiki/4.-Documentation-(post-v0.2.1)\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"https://ashleyjohnson.co.uk/journal/calling-all-laravel-devs-lets-collaborate-on-sidekick\"\u003eContributing\u003c/a\u003e | \u003ca href=\"https://github.com/PapaRascal2020/sidekick?tab=GPL-3.0-1-ov-file\"\u003eLicense\u003c/a\u003e\u003c/p\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://hopeful-mist.lon1.cdn.digitaloceanspaces.com/sidekick_new.png\" alt=\"\" /\u003e\n\u003c/p\u003e\n\n### Description\nThis project provides a unified wrapper around the OpenAI, Claude, Cohere and Mistral APIs for Laravel. The goal is to simplify switching between different AI models and APIs, making it as seamless as possible.\n\n \u003cimg src=\"https://github.com/user-attachments/assets/3f7d016b-735d-4f3a-a059-064d15f16040\" alt=\"\" height=\"25\" /\u003e \u003ca href=\"https://www.youtube.com/watch?v=rfhhsQYpq6c\"\u003e **Watch a short video on how to get set up in under 5 minutes.** \u003c/a\u003e\n \n#### ![image](https://github.com/user-attachments/assets/5595c5d1-60c8-4693-aa54-47dffa6f4d10) Features\n- Open AI, Mistral, Claude \u0026 Cohere\n    - Conversation =\u003e Quickly prototype/build a chatbot (with history via DB)\n    - Completion =\u003e Complete or respond to a given prompt\n- Open AI, Mistral (ONLY)\n    - Embedding =\u003e Create a vector representation from text\n- Open AI (ONLY)    \n    - Audio =\u003e Create an Audio file from a text prompt\n    - Image =\u003e Create an Image from a text prompt\n    - Moderation =\u003e Moderate text and flag for unwanted content (great for moderating comments)\n    - Transcription =\u003e Transcribe an audio file\n - Quick Utilities (supported by all models)\n    - Summarize =\u003e Summarizes the given input\n    - extractKeywords =\u003e Extracts Keywords from a given input\n    - translateText =\u003e Translates the given input into another language\n    - generateContent =\u003e Generates content ideas from a given topic \n \n\n\n### Installation Guide\nThe easiest way to install the package in your laravel app is to run the following command from within your project directory:\n```bash\n    composer require paparascaldev/sidekick\n```\n\n### Configuring the `.env`\nOnce Sidekick is installed you need to update your `.env` file with your access tokens.\n\nYou only need to specify the token for the provider(s) you will use.\n\n```dotenv\nSIDEKICK_OPENAI_TOKEN='{API_KEY_HERE} (Recommended)'\nSIDEKICK_MISTRAL_TOKEN='{API_KEY_HERE} (Optional)'\nSIDEKICK_CLAUDE_TOKEN='{API_KEY_HERE} (Optional)'\nSIDEKICK_COHERE_TOKEN='{API_KEY_HERE} (Optional)'\n```\n\n#### Where can I get an API key?\nIf you are not yet signed up with any of the AI providers, here are some links to help:\n\n- https://platform.openai.com (Open Ai)\n- https://console.anthropic.com (Claude)\n- https://console.mistral.ai (Mistral)\n- https://dashboard.cohere.com (Cohere)\n\n### Running Migrations\nRun your migrations using the command below:\n\n```bash\n    php artisan migrate\n```\n\nAfter the `.env` is updated you can start testing the plugin.\n\n### The Sidekick Playground\n\nIn order to see some examples of Sidekick in action I have created a playground.\nThis is not available by default because some may not wish to use it.\n\nIf you would like to use it run the following artisan command to install the playground:\n\n```bash\n  php artisan sidekick:install\n```\nThis will install the routes and views into your application.\n\nOn completion, you can access the playground at: \n\n```\n/sidekick\n```\n\n### Documentation\n\nPlease refer to the wiki documentation that can be found here: [Documentation](https://github.com/PapaRascal2020/sidekick/wiki/4.-Documentation-(post-v0.2.1))\n\n\n### Ways to Contribute\n\nTo find out about how you can get involved checkout the \u003ca href=\"https://github.com/PapaRascal2020/sidekick/blob/main/CONTRIBUTING.md\"\u003eCONTRIBUTING.md\u003c/a\u003e or read my post on it here: [https://ashleyjohnson.co.uk/journal/calling-all-laravel-devs-lets-collaborate-on-sidekick](https://ashleyjohnson.co.uk/journal/calling-all-laravel-devs-lets-collaborate-on-sidekick)\n\nAlso, star my repository if you think it is useful.\n\n### Model Support\n\nI have tested the package using the following models:\n\n#### Open Ai\n```gpt-3.5-turbo, gpt-4, tts-1, tts-1-hd, dall-e-2, dall-e-3, whisper-1, text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002, text-moderation-latest, text-moderation-stable, text-moderation-007```\n#### Mistral AI\n```mistral-small-latest, mistral-medium-latest, mistral-large-latest, open-mistral-7b, mistral-embed```\n#### Claude AI\n```claude-3-opus-20240229, claude-3-sonnet-20240229, claude-3-haiku-20240307```\n#### Cohere AI\n```command-r-08-2024 command-r-plus-08-2024```\n\n### Stargazers\nThank you to everyone who stars this repository.\n\n[![Stargazers repo roster for @PapaRascal2020/sidekick](https://reporoster.com/stars/dark/notext/PapaRascal2020/sidekick)](https://github.com/PapaRascal2020/sidekick/stargazers)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPapaRascal2020%2Fsidekick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPapaRascal2020%2Fsidekick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPapaRascal2020%2Fsidekick/lists"}