spiderpan / doc-gpt
PHP library that for document GPT
v0.4.0
2024-04-08 20:48 UTC
Requires
- ext-pdo: *
- guzzlehttp/guzzle: ^7.8
- nyholm/psr7: ^1.8
- openai-php/client: ^0.8.1
- pgvector/pgvector: ^0.1.4
- symfony/http-client: ^7.0
Requires (Dev)
- fakerphp/faker: ^1.23
- friendsofphp/php-cs-fixer: ^3.48
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2024-05-08 20:56:20 UTC
README
TBD
Usage
See example.php for a working example.
Development
- Clone the repo
- Run
./dev start
to start the docker containers
Common CLI commands
./dev reset
- Rebuild the containers./dev stop
- Stop the app./dev test
- Unit tests are run with PHPUnit./dev test path/to/Test.php
- Run a specific test file./dev shell
- Open a shell in the container./dev lint
- Run PHP CS Fixer