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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nexxtmove/ai

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

1.1.3(2y ago)25.9k↓58.1%MITPHP

Since May 21Pushed 10mo agoCompare

[ Source](https://github.com/nexxtmove/ai)[ Packagist](https://packagist.org/packages/nexxtmove/ai)[ RSS](/packages/nexxtmove-ai/feed)WikiDiscussions main Synced 2d 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

32

—

LowBetter than 69% of packages

Maintenance38

Infrequent updates — may be unmaintained

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

323d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)

PHPackages © 2026

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