Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Client Laravel Package

grok-php/client

Lightweight, framework-agnostic PHP 8.2+ client for Grok AI APIs. Type-safe OOP design with enums, streaming support, and minimal dependencies. Includes chat and vision analysis examples, configurable options, and robust error handling.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables rapid prototyping of AI features (e.g., chatbots, content generation, image analysis) by abstracting Grok API complexity, reducing time-to-market for customer-facing AI capabilities.
  • Supports "buy vs build" strategy by eliminating need for custom HTTP client development and error handling, freeing engineering resources for core product innovation.
  • Aligns with Laravel ecosystem via service container integration, ensuring maintainable code that adheres to PHP best practices without reinventing infrastructure.
  • Mitigates production risk through typed responses, structured error handling, and automatic model validation, reducing silent failures in AI workflows.

When to Consider This Package

  • Adopt when your stack is PHP/Laravel, you need simple chat, completion, or image analysis integrations with minimal setup, and prioritize developer velocity over advanced orchestration.
  • Look elsewhere if you require multi-provider AI support (e.g., OpenAI + Anthropic),
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests