glhd / fs-of-holding
dev-main
2024-07-26 23:46 UTC
Requires
- ext-json: *
- guzzlehttp/guzzle: ^7
- illuminate/http: *
- illuminate/support: ^10|^11|dev-master
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.34
- mockery/mockery: ^1.6
- orchestra/testbench: ^8|^9|10.x-dev|dev-master
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2024-08-27 00:00:06 UTC
README
安装
composer require glhd/fs-of-holding
确保您已设置以下之一
openai.api_key
配置值services.openai.api_key
配置值services.openai.key
配置值services.ChatGPT.api_key
配置值services.ChatGPT.key
配置值OPENAI_API_KEY
环境变量
用法
// Grab a haiku from the filesystem of holding file_get_contents('fs-of-holding://haiku.txt'); // Or maybe a sample config file file_get_contents('fs-of-holding://pest-php/sample-config.php'); // Or maybe you need inspiration file_get_contents('fs-of-holding://quotes-from-laravel-inspire-command.yml');