PHP code example of axepress / wp-graphql-plugin-boilerplate

1. Go to this page and download the library: Download axepress/wp-graphql-plugin-boilerplate 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/ */

    

axepress / wp-graphql-plugin-boilerplate example snippets

diff
"autoload": {
  "files": [
    "access-functions.php"
  ],
  "psr-4": {
    "WPGraphQL\\PluginName\\": "src/"
  },
+  "classmap": [
+    "vendor-prefixed/"
+  ]
},