Skip to content

Creating a PHP WebSocket client for AWS AppSync real-time subscriptions.

Notifications You must be signed in to change notification settings

roshanlabh/php-appsync-consumer-example

Repository files navigation

Introduction

If you are looking for consuming AWS Appsync based GraphQL service in your >= PHP 5.6 application. Then, you are at right place. These are the set of examples to demonstrate by running graphql Query, Mutation and subscription.

Run below commands to run examples

(Optional) Install package dependencies by running

$ composer install

After that run respective example script

$ php appsync-query.php

$ php appsync-mutation.php

$ php appsync-subscription.php

*Note: Please replace and .

** Tested with PHP 5.6 and PHP 7.2

About

Creating a PHP WebSocket client for AWS AppSync real-time subscriptions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages