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

Laravel Laravel Package

grok-php/laravel

Laravel integration for the GrokPHP client. Add Grok AI chat and vision to Laravel apps with a clean facade API, configurable defaults (model, temperature, timeout), streaming responses, and simple install via artisan. Supports Laravel 10–12, PHP 8.2+.

View on GitHub
Deep Wiki
Context7
v1.0.0

Initial Release

  • Released GrokPHP/Laravel v1.0.0, a Laravel wrapper for Grok AI Client.
  • Added support for chat models with a simple, fluent syntax.

Notes

v1.1.0

New Features

  • Added Vision API Support: The package now supports analyzing images using Grok AI Vision models.
    • New method: GrokAI::vision()->analyze($imagePath, $prompt).
    • Supports models: grok-2-vision-1212, grok-2-vision, and grok-2-vision-latest.

Improvements

  • Switched from Pest to PHPUnit for better Laravel compatibility.
  • Introduced GrokResponse: A response wrapper for easier result handling.
  • Enhanced Exception Handling:
    • Proper error handling for image inputs when used with non-vision models.
    • Improved API key error handling.
  • Refactored Service Provider for better maintainability.
  • Dropped Support for PHP 8.1: Now requires PHP 8.2+.
  • Added Support for Laravel 12: Compatible with Laravel 10, 11, and 12.

Internal Changes

  • Improved test coverage for chat and vision API features.
  • Refactored code to follow SOLID principles.
  • Added GitHub Actions CI workflow to support PHP 8.3, and 8.4.

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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
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