Skip to content

siteorigin/laravel-openai

Repository files navigation

Use GPT-3 inside Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require siteorigin/laravel-openai

You can publish and run the migrations with:

php artisan vendor:publish --provider="Siteorigin\LaravelOpenAI\LaravelOpenAIServiceProvider" --tag="laravel-openai-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Siteorigin\LaravelOpenAI\LaravelOpenAIServiceProvider" --tag="laravel-openai-config"

This is the contents of the published config file:

return [
];

Usage

$laravel-openai = new Siteorigin\LaravelOpenAI();
echo $laravel-openai->echoPhrase('Hello, Spatie!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

This package aims to bridge the gap between Laravel and OpenAI's GPT-3

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages