PHPackages                             nexxtmove/ai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nexxtmove/ai

ActiveLibrary

nexxtmove/ai
============

1.1.3(1y ago)24.8k↓44.3%MITPHP

Since May 21Pushed 9mo agoCompare

[ Source](https://github.com/nexxtmove/ai)[ Packagist](https://packagist.org/packages/nexxtmove/ai)[ RSS](/packages/nexxtmove-ai/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (11)Used By (0)

[![Nexxtmove](https://raw.githubusercontent.com/nexxtmove/ai/logo/icon.svg)](https://raw.githubusercontent.com/nexxtmove/ai/logo/icon.svg) Laravel AI
=====================================================================================================================================================

[](#-laravel-ai)

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');
```

### 1. Install

[](#1-install)

```
composer require nexxtmove/ai
```

### 2. Add your API key to `.env`

[](#2-add-your-api-key-to-env)

```
AI_DRIVER=openai
OPENAI_API_KEY=sk-...
```

### 3. Ask questions

[](#3-ask-questions)

```
use Nexxtmove\AI;

$summary = AI::ask("Summarize this article: {$article}");
```

### That's it!

[](#thats-it)

Want to read more? [Check out the guide](GUIDE.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance46

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Recently: every ~113 days

Total

9

Last Release

277d ago

Major Versions

1.1.3 → v2.x-dev2025-08-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1ff6ad0479339cafd5f96ebbb98da8fa0880d715923b50943515dc00014e184?d=identicon)[nexxtmove](/maintainers/nexxtmove)

---

Top Contributors

[![jpkleemans](https://avatars.githubusercontent.com/u/5700014?v=4)](https://github.com/jpkleemans "jpkleemans (20 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nexxtmove-ai/health.svg)

```
[![Health](https://phpackages.com/badges/nexxtmove-ai/health.svg)](https://phpackages.com/packages/nexxtmove-ai)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[iankumu/mpesa

A package that helps integrate the Mpesa APIs to your Laravel Project

5014.7k](/packages/iankumu-mpesa)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
