PHP code example of elephentity / codegen-graphql-php

1. Go to this page and download the library: Download elephentity/codegen-graphql-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

elephentity / codegen-graphql-php example snippets

json
{
  "targets": {
    "graphql-php": {
      "builder": "vendor/bin/eleph-gen-graphql-php",
      "output": "generated/graphql"
    }
  }
}