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

29

—

LowBetter than 57% of packages

Maintenance34

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

649d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/75794316?v=4)[crembelski](/maintainers/crembelski)[@crembelski](https://github.com/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.7k9.5M89](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M987](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[moe-mizrak/laravel-openrouter

Laravel package for OpenRouter (A unified interface for LLMs)

154177.9k2](/packages/moe-mizrak-laravel-openrouter)[flat3/lodata

OData v4.01 Producer for Laravel

99351.7k](/packages/flat3-lodata)

PHPackages © 2026

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