Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.11 KB

bundle-installation.md

File metadata and controls

46 lines (34 loc) · 1.11 KB

How to install the project (SF 4.1 OR SF 3.4/4.0)

Back to menu

Install on SF 3.4 and 4.0

At first, you need to add the project to your composer : composer require ciloe/graphql-client-bundle

And add the bundle to your AppKernel.php located in your/project/folder/app/

<?php
    // ... Som codes
    public function registerBundles()
    {
        $bundles = array(
            //Some bundles
            new GraphQLClientBundle\GraphQLClientBundle(),
        );
        
        return $bundles;
    }

That's all. Now you need to configure it.

Install on SF 4.1 and greatest

At first, you need to add the project to your composer : composer require ciloe/graphql-client-bundle

And add the bundle to your bundles.php located in your/project/folder/config/

<?php
  return [
      // Some bundles
      GraphQLClientBundle\GraphQLClientBundle::class => ['all' => true],
  ];

That's all. Now you need to configure it.