blackcube/graphql

Blackcube CMS GaphQl system

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:yii2-extension

dev-devel-3.x / 3.x-dev 2023-11-07 15:51 UTC

This package is auto-updated.

Last update: 2024-05-07 17:05:18 UTC


README

pipeline status coverage report

Pre-requisites

  • PHP 7.4+
    • Extension dom
    • Extension fileinfo
    • Extension intl
    • Extension json
    • Extension mbstring
  • Apache or NginX
  • Blackcube core

Pre-flight

Add blackcube graphql to the project

composer require "blackcube/graphql" 

Installation

Beware: Blackcube graphql can only be installed if Blackcube core is already set up

Inject Blackcube admin in application

// main configuration file
// ...
    'bootstrap' => [
        // ... boostrapped modules
        'blackcube', // blackcube core
        'gql', // blackcube graphql
    ],
    'modules' => [
        // ... other modules
        'blackcube' => [
            'class' => blackcube\core\Module::class,
        ],
        'gql' => [
            'class' => blackcube\graphql\Module::class,
        ],
    ],
// ...

Blackcube graphql is now ready, you can access it through https://host.domain/gql