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.
(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