PHPackages                             arjvand/ai-provider-for-nvidia - 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. arjvand/ai-provider-for-nvidia

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

arjvand/ai-provider-for-nvidia
==============================

Forgeia AI Provider for NVIDIA for the PHP AI Client SDK. Works as both a Composer package and a WordPress plugin.

v1.2.0(3w ago)01GPL-2.0-or-laterPHPPHP &gt;=7.4

Since Jun 17Pushed 3w agoCompare

[ Source](https://github.com/arjvand/ai-provider-for-nvidia)[ Packagist](https://packagist.org/packages/arjvand/ai-provider-for-nvidia)[ Docs](https://github.com/arjvand/forgeia-ai-provider-for-nvidia)[ RSS](/packages/arjvand-ai-provider-for-nvidia/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

Forgeia AI Provider for NVIDIA
==============================

[](#forgeia-ai-provider-for-nvidia)

Forgeia AI Provider for NVIDIA for the [PHP AI Client](https://github.com/wordpress/php-ai-client) SDK. Works as both a Composer package and a WordPress plugin.

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- When using with WordPress, requires WordPress 7.0 or higher
    - If using an older WordPress release, the [wordpress/php-ai-client](https://github.com/wordpress/php-ai-client) package must be installed

Installation
------------

[](#installation)

### As a Composer Package

[](#as-a-composer-package)

```
composer require forgeia/forgeia-ai-provider-for-nvidia

```

### As a WordPress Plugin

[](#as-a-wordpress-plugin)

1. Download the plugin files
2. Upload to `/wp-content/plugins/forgeia-ai-provider-for-nvidia/`
3. Ensure the PHP AI Client plugin is installed and activated
4. Activate the plugin through the WordPress admin

Usage
-----

[](#usage)

### With WordPress

[](#with-wordpress)

The provider automatically registers itself with the PHP AI Client on the `init` hook. Simply ensure both plugins are active and configure your API key:

```
// Set your NVIDIA API key (or use the NVIDIA_API_KEY environment variable)
putenv('NVIDIA_API_KEY=your-api-key');

// Use the provider
$result = AiClient::prompt('Hello, world!')
    ->usingProvider('nvidia')
    ->generateTextResult();
```

### As a Standalone Package

[](#as-a-standalone-package)

```
use WordPress\AiClient\AiClient;
use Forgeia\NvidiaAiProvider\Provider\NvidiaProvider;

// Register the provider
$registry = AiClient::defaultRegistry();
$registry->registerProvider(NvidiaProvider::class);

// Set your API key
putenv('NVIDIA_API_KEY=your-api-key');

// Generate text
$result = AiClient::prompt('Explain quantum computing')
    ->usingProvider('nvidia')
    ->generateTextResult();

echo $result->toText();
```

[![NVIDIA AI Connector settings page](assets/screenshot-1.png)](assets/screenshot-1.png)

Supported Models
----------------

[](#supported-models)

Available models are dynamically discovered from the NVIDIA NIM API. This includes text generation models (NVIDIA Nemotron, Meta Llama, Google Gemma, Mistral, and others), and image generation models (Stable Diffusion, Flux). See the [NVIDIA Build](https://build.nvidia.com/) for the full list of available models.

Configuration
-------------

[](#configuration)

The provider uses the `NVIDIA_API_KEY` environment variable for authentication. You can set this in your environment or via PHP:

```
putenv('NVIDIA_API_KEY=your-api-key');
```

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance95

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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 ~10 days

Total

3

Last Release

22d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/831b393d7d418d5eba53c47a81d0ccfc24aba644883396f47330f5ae32456536?d=identicon)[arjvand](/maintainers/arjvand)

---

Top Contributors

[![arjvand](https://avatars.githubusercontent.com/u/6619045?v=4)](https://github.com/arjvand "arjvand (47 commits)")

---

Tags

wordpressaillmnvidianim

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arjvand-ai-provider-for-nvidia/health.svg)

```
[![Health](https://phpackages.com/badges/arjvand-ai-provider-for-nvidia/health.svg)](https://phpackages.com/packages/arjvand-ai-provider-for-nvidia)
```

###  Alternatives

[ardagnsrn/ollama-php

This is a PHP library for Ollama. Ollama is an open-source project that serves as a powerful and user-friendly platform for running LLMs on your local machine. It acts as a bridge between the complexities of LLM technology and the desire for an accessible and customizable AI experience.

21284.7k](/packages/ardagnsrn-ollama-php)[soukicz/llm

LLM client with support for cache, tools and async requests

4414.3k](/packages/soukicz-llm)[wordpress/ai-provider-for-anthropic

AI Provider for Anthropic for the PHP AI Client SDK. Works as both a Composer package and WordPress plugin.

191.0k](/packages/wordpress-ai-provider-for-anthropic)[wordpress/ai-provider-for-google

AI Provider for Google for the PHP AI Client SDK. Works as both a Composer package and WordPress plugin.

171.2k](/packages/wordpress-ai-provider-for-google)[anilcancakir/laravel-ai-sdk-skills

A skill system for Laravel AI SDK agents. Define reusable AI capabilities with SKILL.md files.

2312.1k](/packages/anilcancakir-laravel-ai-sdk-skills)

PHPackages © 2026

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