- PHP 7.4+
- Extension
dom
- Extension
fileinfo
- Extension
intl
- Extension
json
- Extension
mbstring
- Extension
- Apache or NginX
- Blackcube core
Add blackcube graphql to the project
composer require "blackcube/graphql"
Beware:
Blackcube graphql
can only be installed ifBlackcube core
is already set up
// 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