PHPackages                             ihsandevs/php-edge-gpt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. ihsandevs/php-edge-gpt

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

ihsandevs/php-edge-gpt
======================

Bing AI Chatbot WebSocket API Wrapper for PHP

1.0.0(3y ago)232534[2 issues](https://github.com/IhsanDevs/EdgeGPT/issues)MITPHP

Since Mar 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/IhsanDevs/EdgeGPT)[ Packagist](https://packagist.org/packages/ihsandevs/php-edge-gpt)[ Docs](https://github.com/IhsanDevs/EdgeGPT)[ RSS](/packages/ihsandevs-php-edge-gpt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

> This project has been discontinued and can no longer be used. Because Bing security will always be updated regularly, of course. But not with this project, the time factor and bypass some of Bing's increasingly updated security.

[![EdgeGPT](https://camo.githubusercontent.com/c1affc8b1ce617ea354457530dffd020be65809b2cc8ba0e2df853d42601e327/68747470733a2f2f736f6369616c6966792e6769742e63692f496873616e446576732f456467654750542f696d6167653f6465736372697074696f6e3d3126666f6e743d496e74657226666f726b733d31266973737565733d31266c616e67756167653d31266c6f676f3d6874747073253341253246253246696d672e69636f6e73382e636f6d2532466e6f6c616e253246353132253246636861746770742e706e67266e616d653d31266f776e65723d31267061747465726e3d43697263756974253230426f6172642670756c6c733d31267374617267617a6572733d31267468656d653d4c69676874)](https://camo.githubusercontent.com/c1affc8b1ce617ea354457530dffd020be65809b2cc8ba0e2df853d42601e327/68747470733a2f2f736f6369616c6966792e6769742e63692f496873616e446576732f456467654750542f696d6167653f6465736372697074696f6e3d3126666f6e743d496e74657226666f726b733d31266973737565733d31266c616e67756167653d31266c6f676f3d6874747073253341253246253246696d672e69636f6e73382e636f6d2532466e6f6c616e253246353132253246636861746770742e706e67266e616d653d31266f776e65723d31267061747465726e3d43697263756974253230426f6172642670756c6c733d31267374617267617a6572733d31267468656d653d4c69676874)

Edge-GPT: Bing AI Chatbot WebSocket API Wrapper for PHP
=======================================================

[](#edge-gpt-bing-ai-chatbot-websocket-api-wrapper-for-php)

The ihsandevs/edge-gpt library is a powerful and easy-to-use PHP wrapper for the Bing AI Chatbot, leveraging the WebSocket API. Seamlessly integrate the advanced conversational capabilities of Bing's AI Chatbot into your PHP projects and create engaging user experiences with ease.

Demo
----

[](#demo)

    0324.mp4    Requirements
------------

[](#requirements)

- A Microsoft Account with early access to  (Required)

Getting authentication (Required)
---------------------------------

[](#getting-authentication-required)

- Install the cookie editor extension for [Chrome](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/)
- Go to `bing.com`
- Open the extension
- Click "Export" on the bottom right (This saves your cookies to clipboard)
- Paste your cookies into a file `cookies.json`

Installation
------------

[](#installation)

To use this library, you can use Composer to install it. Run the following command:

```
composer require ihsandevs/php-edge-gpt
```

Usage
-----

[](#usage)

```
