The simplest way to add AI to your Laravel app, using OpenAI or Gemini.
$fruits = AI::ask('Give me a JSON array with three fruits');
composer require nexxtmove/ai
AI_DRIVER=openai
OPENAI_API_KEY=sk-...
use Nexxtmove\AI;
$summary = AI::ask("Summarize this article: {$article}");
Want to read more? Check out the guide.