OpenAI PHP for Laravel is a community-maintained PHP API client that allows you to interact with the Open AI API. If you or your business relies on this package, it's important to support the developers who have contributed their time and effort to create and maintain this valuable tool. Specify your OpenAI API Key and organization. The timeout may be used to specify the maximum number of seconds to wait for a response. By default, the client will time out after 30 seconds. The OpenAI facade comes with a fake() method that allows you to fake the API responses. The fake responses are returned in the order they are provided to the fake() method. All responses are having a fake() method that allows you to easily create a response object by only providing the parameters relevant for your test case.

Features

  • OpenAI PHP for Laravel is an open-sourced software licensed under the MIT license
  • Documentation available
  • Requires PHP 8.1+
  • OpenAI API Key and Organization
  • The OpenAI facade comes with a fake() method that allows you to fake the API responses
  • The timeout may be used to specify the maximum number of seconds to wait for a response

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow OpenAI PHP

OpenAI PHP Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenAI PHP!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-04-09