This page provides reference documentation and related resources for the Dialogflow PHP client library.
Resource | Description |
---|---|
Library reference | Dialogflow PHP library reference |
Language guide | General guide for using PHP with GCP |
GitHub repository | Source code and additional documentation for this library |
Quickstart | Introduction to using this library |
Stack Overflow | Questions tagged with Dialogflow and PHP |
Installation
To install the client library:
- Install the preferred dependency manager for PHP, Composer.
-
Install the Dialogflow component of Google Cloud Client Libraries:
composer require google/cloud-dialogflow
- This component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods), follow the instructions in the gRPC installation guide.