PHPackages                             saqqal/llm-integration-bundle - 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. saqqal/llm-integration-bundle

ActiveSymfony-bundle[API Development](/categories/api)

saqqal/llm-integration-bundle
=============================

Symfony bundle for integrating large language models (LLMs) into applications via api providers, supporting API Together and OpenAI.

v1.0.0(1y ago)110MITPHPPHP ^8.0

Since Sep 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/abdosql/LlmIntegrationBundle)[ Packagist](https://packagist.org/packages/saqqal/llm-integration-bundle)[ RSS](/packages/saqqal-llm-integration-bundle/feed)WikiDiscussions main Synced 1mo ago

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

🤖 LLMIntegrationBundle
======================

[](#-llmintegrationbundle)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/04744bae0a61d2ffe29c26f07a9612eae20445fc6feaeb77b3af1f0e9be6447c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d3838393242462e737667)](https://www.php.net/)[![Symfony Version](https://camo.githubusercontent.com/df7661a30ad106944ac15e3efdea820fffe1f707f7c3b346d0ea4f364f01b50d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253545362e30253743253545372e302d3030303030302e737667)](https://symfony.com/)

LLMIntegrationBundle is a powerful Symfony bundle that seamlessly integrates Large Language Models (LLMs) into your Symfony applications. With support for multiple AI providers and a flexible architecture, it's designed for easy extension and customization.

📚 Table of Contents
-------------------

[](#-table-of-contents)

- [Features](#-features)
- [Installation](#-installation)
- [Configuration](#%EF%B8%8F-configuration)
- [Usage](#-usage)
- [Available AI Clients](#-available-ai-clients)
- [CLI Commands](#-cli-commands)
- [Extending the Bundle](#-extending-the-bundle)
- [Exception Handling](#-exception-handling)
- [Testing](#-testing)
- [License](#-license)
- [Author](#-author)
- [Contributing](#-contributing)
- [Documentation](#-documentation)
- [Acknowledgements](#-acknowledgements)

✨ Features
----------

[](#-features)

- 🌐 Support for multiple AI providers
- ⚙️ Flexible configuration
- 🛡️ Exception handling with custom exceptions
- 🖥️ CLI integration for generating new AI service classes
- 🧩 Extensible architecture
- 🧪 Comprehensive unit testing

📦 Installation
--------------

[](#-installation)

Install the bundle using Composer:

```
composer require saqqal/llm-integration-bundle
```

🛠️ Configuration
----------------

[](#️-configuration)

1. Register the bundle in `config/bundles.php`:

```
