Weave 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
v1.3.0

New Features

  • Vision API Support: Added a new Vision class to analyze images using the Grok-2-Vision models.
    • Supports grok-2-vision, grok-2-vision-latest, and grok-2-vision-1212 models.
    • Allows image analysis through vision()->analyze($image, $message).
    • Automatically validates supported models to prevent incorrect usage.

v1.2.0

Improvements

  • Replaced Pest with PHPUnit for testing, aligning with industry standards.
  • Enhanced exception handling to provide more structured and informative error responses.
  • Updated GitHub Actions workflow to support PHP 8.2, 8.3, and 8.4.

v1.1.1

Improvements

  • Refactored code formatting for better readability and maintainability.
  • Implemented GitHub Actions CI to run tests automatically on each push to the main branch.

v1.1.0

Enhancements

  • Upgraded to version 1.1.0 with internal improvements and stability fixes.

v1.0.0

Initial Release

  • Launched GrokPHP/Client v1.0.0 – a robust, framework-agnostic PHP client for interacting with Grok AI APIs.

Notes

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource