Skip to content

Commit 34848e9

Browse files
committed
Add badges to readme
1 parent 7fba7a3 commit 34848e9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<p align="center">
2+
<p align="center">
3+
<a href="https://github.com/openai-php/symfony/actions"><img alt="GitHub Workflow Status (master)" src="https://img.shields.io/github/actions/workflow/status/openai-php/symfony/tests.yml?branch=main&label=tests&style=round-square"></a>
4+
<a href="https://packagist.org/packages/openai-php/symfony"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/openai-php/symfony"></a>
5+
<a href="https://packagist.org/packages/openai-php/symfony"><img alt="Latest Version" src="https://img.shields.io/packagist/v/openai-php/symfony"></a>
6+
<a href="https://packagist.org/packages/openai-php/symfony"><img alt="License" src="https://img.shields.io/github/license/openai-php/symfony"></a>
7+
</p>
8+
</p>
9+
10+
------
111
**OpenAI PHP** for Symfony is a supercharged community PHP API client that allows you to interact with the [Open AI API](https://beta.openai.com/docs/api-reference/introduction).
212

313
> **Note:** This repository contains the integration code of the **OpenAI PHP** for Symfony. If you want to use the **OpenAI PHP** client in a framework-agnostic way, take a look at the [openai-php/client](https://github.com/openai-php/client) repository.
@@ -26,9 +36,10 @@ using environment variables:
2636

2737
```env
2838
OPENAI_API_KEY=sk-...
39+
OPENAI_ORGANIZATION=...
2940
```
3041

31-
Finally, you may use the `openai` service to access the OpenAI API:
42+
Finally, you may use the `openai` service to access the OpenAI API:
3243

3344
```php
3445
$result = $container->get('openai')->completions()->create([

0 commit comments

Comments
 (0)