This page provides reference documentation and related resources for the
Dialogflow CX PHP client library.

| Resource | Description |
|---|---|
| [Library reference](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest) | Dialogflow CX PHP library reference |
| [Language guide](https://cloud.google.com/php/docs/) | General guide for using PHP with GCP |
| [GitHub repository](https://github.com/GoogleCloudPlatform/google-cloud-php-dialogflow) | Source code and additional documentation for this library |
| [Quickstart](https://docs.cloud.google.com/dialogflow/docs/quick/api) | Introduction to using this library |
| [Stack Overflow](http://stackoverflow.com/search?q=%5Bdialogflow%5D+%5Bphp%5D) | Questions tagged with Dialogflow CX and PHP |

### Installation


To install the client library:

1. Install the preferred dependency manager for PHP, [Composer](https://getcomposer.org/).
2. Install the Dialogflow component of Google Cloud Client Libraries:

   ```
   composer require google/cloud-dialogflow
   ```
3. 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](https://docs.cloud.google.com/php/docs/reference/help/grpc).