Download the PHP package borah/llm-port-laravel without Composer
On this page you can find all versions of the php package borah/llm-port-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download borah/llm-port-laravel
More information about borah/llm-port-laravel
Files in borah/llm-port-laravel
Package llm-port-laravel
Short Description Wrapper around the most popular LLMs that allows drop-in replacement of large language models in Laravel.
License MIT
Homepage https://github.com/BorahLabs/llm-port-laravel
Informations about the package llm-port-laravel
LLM Port
Wrapper around the most popular LLMs that allows drop-in replacement of large language models in Laravel.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
You can also choose the model to use:
Or define a specific driver:
The supported drivers are:
openai
: OpenAIgemini
: Geminianthropic
: Anthropicreplicate
: Replicategroq
: Groqnebius
: Nebius AI
You can also create your own driver:
The key that you define in
driver()
should be registered as a driver in thellmport.php
config file.
License
The MIT License (MIT). Please see License File for more information.
All versions of llm-port-laravel with dependencies
benbjurstrom/replicate-php Version ^0.3.0
illuminate/contracts Version ^10.0||^11.0
lucianotonet/groq-php Version ^0.0.9
openai-php/client Version ^0.10.1
spatie/laravel-package-tools Version ^1.16