openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.56k stars 466 forks source link

[Improvement]: `dd` is not a PHP function, the first image of readme.md needs to be changed. use `var_dump` or `print_r` #372

Closed simaranjit closed 2 months ago

simaranjit commented 2 months ago

Description

dd is not a standard PHP function, probably it comes from Laravel framework, however this is a standard core PHP client, so I would strongly recommend to changedd to var_dump or print_r in the first image added in readme.md

Steps To Reproduce

If you preview the readme.md, the first image shown needs to be fixed

OpenAI PHP Client Version

main branch

PHP Version

8.1

Notes

dd is not a standard PHP function, probably it comes from Laravel framework, however this is a standard core PHP client, so I would strongly recommend to changedd to var_dump or print_r in the first image added in readme.md

nunomaduro commented 2 months ago

No plans to change that.