PHPackages                             crembelski/iacommunication - 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. [API Development](/categories/api)
4. /
5. crembelski/iacommunication

ActiveLibrary[API Development](/categories/api)

crembelski/iacommunication
==========================

This package allows you to communicate with OpenAI via a simple interface.

1.2.0(1y ago)18MITPHPPHP &gt;=8.3

Since Sep 17Pushed 1y ago1 watchersCompare

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

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

IACommunication Package
=======================

[](#iacommunication-package)

This package allows you to communicate with OpenAI via a simple interface.

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

[](#installation)

1. **Install the Package**
    Run the following command in your project root to install the package:

    ```
    composer require crembelski/iacommunication
    ```
2. **Add the Service Provider**
    In your `config/app.php`, add the following line to the `providers` array:

    ```
    crembelski\iacommunication\IACommunicationServiceProvider::class,
    ```
3. **Publish the Configuration**
    Run the following command to publish the configuration file:

    ```
    php artisan vendor:publish --tag=config --provider="crembelski\iacommunication\IACommunicationServiceProvider"
    ```
4. **Configure Your OpenAI**
    Add your OpenAI API Key and the service name in the `.env` file of your Laravel application. Example:

    ```
    IA_API_KEY=your_openai_api_key_here
    IA_SERVICE=OpenAI
    ```

    Replace `your_openai_api_key_here` with your actual API key from OpenAI.

Usage
-----

[](#usage)

Once installed and configured, you can use the `completions` method to send a message to OpenAI.

```
use crembelski\iacommunication\IACommunication;

$iaComm = new IACommunication();
$response = $iaComm->completions("Hello AI!");
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

6

Last Release

594d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/519ed9b94e39a46218de61b566a8200eb95ab80370a250c8a8771fe5339bd322?d=identicon)[crembelski](/maintainers/crembelski)

---

Top Contributors

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

---

Tags

laravelopenaicommunicateiacommunicationcrembelski

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crembelski-iacommunication/health.svg)

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[maltekuhr/laravel-gpt

Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel applications.

117130.9k4](/packages/maltekuhr-laravel-gpt)[creativecrafts/laravel-ai-assistant

A handy package to access and interact with OpenAi endpoint

141.1k](/packages/creativecrafts-laravel-ai-assistant)

PHPackages © 2026

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