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-11-27 00:41:07 UTC
README
Installation
composer require glhd/fs-of-holding
Make sure you have one of the following set:
openai.api_key
config valueservices.openai.api_key
config valueservices.openai.key
config valueservices.chatgpt.api_key
config valueservices.chatgpt.key
config valueOPENAI_API_KEY
env variable
Usage
// 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');