Download the PHP package khaledalam/bard-sdk-php without Composer
On this page you can find all versions of the php package khaledalam/bard-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download khaledalam/bard-sdk-php
More information about khaledalam/bard-sdk-php
Files in khaledalam/bard-sdk-php
Download khaledalam/bard-sdk-php
More information about khaledalam/bard-sdk-php
Files in khaledalam/bard-sdk-php
Vendor khaledalam
Package bard-sdk-php
Short Description Google Bard SDK for PHP (unofficial).
License MIT
Package bard-sdk-php
Short Description Google Bard SDK for PHP (unofficial).
License MIT
Please rate this library. Is it a good library?
Informations about the package bard-sdk-php
PHP SDK/API for Google Bard (experiment version) (unofficial)
Reverse engineering of Google's Bard chatbot.
Disclamer
- ApiKeyCookie.php implemented only for easing the access to Google Bard, any legal responsibilities lie with the user.
- Don't expose your
__Secure-1PSID
cookie value on the internet.
Install
$ composer require khaledalam/bard-sdk-php
Test
$ composer run test
Auth
- Navigate to https://bard.google.com/
- Open "Developer Tools" from browser settings or click [F12] shortcut for console.
- Go to Application tab => open "Cookies" from left tab => click "https://accounts.google.com" => Copy the value of
__Secure-1PSID
cookie.
Simple Usage
Change _YOUR_COOKIE_VALUE_
Output (May-2023):
Examples
Example1(world_datatime_ai):
php examples/world_datetime_ai/main.php
Example2(docker)
Technical
Diagram
TODOs:
- [x] Cookie
- [ ] Api key
- [ ] codecov
- [x] Testing
- [x] CI GitHub actions
License
All versions of bard-sdk-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-curl Version *
ext-curl Version *
The package khaledalam/bard-sdk-php contains the following files
Loading the files please wait ....