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

ActiveLibrary[API Development](/categories/api)

developerssavyour/open-ai
=========================

Open AI API Integration with Laravel

0192PHP

Since May 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/developers-savyour/openai)[ Packagist](https://packagist.org/packages/developerssavyour/open-ai)[ RSS](/packages/developerssavyour-open-ai/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Open AI API Integration with Laravel
====================================

[](#open-ai-api-integration-with-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d578dd508c49f639c508f94d6079a0b2213fa6051e474ed3362f884c768c1291/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646576656c6f70657273736176796f75722f6f70656e61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/developerssavyour/openai)[![Total Downloads](https://camo.githubusercontent.com/6348da9e6db457065f7eca1856a9ee1d2b6c5ed31498b92c22fe8fe3136b611b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646576656c6f70657273736176796f75722f6f70656e61692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/developerssavyour/openai)[![GitHub Actions](https://github.com/developerssavyour/openai/actions/workflows/main.yml/badge.svg)](https://github.com/developerssavyour/openai/actions/workflows/main.yml/badge.svg)

It is the package to integrate OpenAI api with laravel.

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

[](#installation)

You can install the package via composer:

```
composer require developerssavyour/open-ai
```

Next, publish the configuration file:

```
php artisan vendor:publish --provider="DevelopersSavyour\OpenAI\OpenAIServiceProvider"
```

Or for Lumen Project manually add service provider: "DevelopersSavyour\\OpenAI\\OpenAIServiceProvider" to bootstrap/app.php and run

```
composer dump-autoload
```

Usage
-----

[](#usage)

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Hammad](https://github.com/developerssavyour)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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/dec8a6acb91ee38aa015e6fc1b3fafdca82c02194b4e30d6ce3fb1c06c662971?d=identicon)[Savyour Developers](/maintainers/Savyour%20Developers)

---

Top Contributors

[![hammadyounus-gad](https://avatars.githubusercontent.com/u/116080850?v=4)](https://github.com/hammadyounus-gad "hammadyounus-gad (10 commits)")[![developers-savyour](https://avatars.githubusercontent.com/u/55490137?v=4)](https://github.com/developers-savyour "developers-savyour (4 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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