PHP code example of bdunogier / ezplatform-graphql-bundle

1. Go to this page and download the library: Download bdunogier/ezplatform-graphql-bundle 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/ */

    

bdunogier / ezplatform-graphql-bundle example snippets


$bundles = array(
    // ...
    new BD\EzPlatformGraphQLBundle\BDEzPlatformGraphQLBundle(),
    new Overblog\GraphQLBundle\OverblogGraphQLBundle(),
    new AppBundle\AppBundle(),
);

case 'dev':
    // ...
    $bundles[] = new Overblog\GraphiQLBundle\OverblogGraphiQLBundle();

php bin/console ezplatform:graphql:generate-schema
php bin/console cache:clear