PHPackages                             ngvritishvili/open\_ai\_cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. ngvritishvili/open\_ai\_cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

ngvritishvili/open\_ai\_cli
===========================

Integrate OpenAI with PHP for CLI support

019PHP

Since Jan 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ngvritishvili/open_ai_cli)[ Packagist](https://packagist.org/packages/ngvritishvili/open_ai_cli)[ RSS](/packages/ngvritishvili-open-ai-cli/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Open AI CLI integration
=======================

[](#open-ai-cli-integration)

Integrate AI CLI for you laravel project to communicate with open AI directly from command line.

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

[](#requirements)

1. Laravel ^10

Install
-------

[](#install)

`composer require ngvritishvili/open_ai_cli:dev-main --with-all-dependencies`

After installation run command to install open-ai: `php artisan openai:install`
Add variable in .env file :

`OPENAI_API_KEY=`
`OPENAI_ORGANIZATION=`
`OPENAI_REQUEST_TIMEOUT=`

You can generate key from open-ai ""
And organization : ""

Usage
-----

[](#usage)

You can start chat with AI with artisan command : `ai-cli:chat`

Congratulation
--------------

[](#congratulation)

Good luck

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6af6305d03d13bc75aeb2be099518585142ef394f36d05b94bc1bf354817926b?d=identicon)[ngvritishvili](/maintainers/ngvritishvili)

---

Top Contributors

[![wirusnika](https://avatars.githubusercontent.com/u/12084179?v=4)](https://github.com/wirusnika "wirusnika (39 commits)")

### Embed Badge

![Health badge](/badges/ngvritishvili-open-ai-cli/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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