Download the PHP package lingoda/ai-bundle without Composer

On this page you can find all versions of the php package lingoda/ai-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ai-bundle

Lingoda AI Bundle

Symfony bundle for the Lingoda AI SDK, providing seamless integration with Symfony's dependency injection container and configuration system.

Features

Installation

Quick Start

1. Installation

2. Configuration

Create config/packages/lingoda_ai.yaml and add your API keys to .env:

Step 1: Add API keys to .env

Step 2: Create configuration file

Create config/packages/lingoda_ai.yaml:

3. Usage

The bundle provides two usage patterns:

Usage Patterns

Pattern 1: Multi-Provider Platform (Flexible)

Use when you need access to multiple AI providers in the same service:

Pattern 2: Single-Provider Platforms (Simple)

Use when you want dedicated platforms for specific providers:

Advanced AI SDK Features

All AI SDK features work seamlessly:

Rate Limiting

The bundle provides enhanced rate limiting that integrates with Symfony's rate limiter component (enabled by default):

Enhanced Rate Limiting (Enabled by Default)

The Bundle enables enhanced rate limiting by default with sensible provider defaults:

Custom Rate Limits (Optional)

Configure custom limits per provider when needed:

Benefits of Enhanced Rate Limiting (Default):

When to Keep Enabled (Default):

When to Disable:

See Rate Limiting Documentation for complete configuration options.

Advanced Configuration

Custom HTTP Clients

You can configure custom HTTP clients per provider for advanced retry logic, timeouts, and request customization:

This gives you full control over:

Console Commands

The bundle provides helpful console commands:

Development

Code Quality

Requirements

Available Services

The bundle automatically registers these services based on your configured API keys:

Multi-Provider Services

Single-Provider Services

Autowiring Support

Architecture Benefits

Supported Models & Features

The bundle supports all models and features from the Lingoda AI SDK:

OpenAI Models: GPT-5, GPT-4.1, GPT-4o series, Audio models (Whisper, TTS) Anthropic Models: Claude 4.1, Claude 4.0, Claude 3.7, Claude 3.5 series Google Models: Gemini 2.5 Pro and Flash with 1M context

AI Capabilities: Text generation, conversations, audio synthesis/transcription, parameterized prompts, streaming, vision, tools, reasoning, and more.

See the AI SDK documentation for complete feature documentation.

Getting Help

License

MIT License. See LICENSE for details.


All versions of ai-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
lingoda/ai-sdk Version ^1.2
symfony/config Version ^6.4|^7.0|^8.0
symfony/console Version ^6.4|^7.0|^8.0
symfony/dependency-injection Version ^6.4|^7.0|^8.0
symfony/framework-bundle Version ^6.4|^7.0|^8.0
symfony/lock Version ^6.4|^7.0|^8.0
symfony/rate-limiter Version ^6.4|^7.0|^8.0
symfony/yaml Version ^6.4|^7.0|^8.0
webmozart/assert Version ^1.11
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lingoda/ai-bundle contains the following files

Loading the files please wait ...