halilcosdu/laravel-ollama
A Laravel package for Ollama that provides a fluent, expressive API to interact with local LLMs. Run chat and completion requests, generate embeddings, stream responses, manage models, and keep AI workloads private in your Laravel app with simple configuration.
streamAsk() / streamChat() map well to chat UIs and long-running generations by lazily consuming NDJSON, avoiding full-response buffering. format() with JSON Schema arrays improves structured-output reliability for downstream parsing and validation. Laravel 11/12/13 and PHP 8.5 CI coverage indicate the package is being maintained against current and forward-looking framework/runtime versions.format() work across all target models, and what Ollama version is required? Is there a non-streaming fallback? Does the package support tool calling, embeddings, or model management, or only chat/generation? What PHPStan level is enforced?streamAsk() / streamChat() for interactive endpoints, then adopt format() for structured outputs.format parameters. Confirm the production PHP version matches the CI matrix, and check that Laravel’s streamed response handling works with the chosen web server and PHP runtime (PHP-FPM, Octane, etc.). Pest 3/4 and PHPStan passing are positive quality signals but do not replace integration testing.How can I help you explore Laravel packages today?