PHP Package: openai-php/laravel
OpenAI PHP library for Laravel framework, providing seamless integration for AI-powered applications and tools.
Package Description
The OpenAI PHP library for Laravel is designed to enhance your application with cutting-edge artificial intelligence capabilities. Seamlessly integrate state-of-the-art AI models and tools to empower your projects with advanced natural language processing, image recognition, and more.
Download Latest Version: 0.17.1

Previous Versions
Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/openai-php/laravel/0.17.1/loader.php';
require_once 'libs/openai-php/openai-php/{lib_version}/loader.php';
use OpenAI\Laravel\OpenAI;
$obj = new OpenAI();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.