blackcube / graphql
Blackcube CMS GaphQl system
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:yii2-extension
Requires
- php: >=7.4
- blackcube/admin: 3.x-dev
- blackcube/core: 3.x-dev
- vlucas/phpdotenv: ~5.0
- webonyx/graphql-php: ~14.9
- yiisoft/yii2: ~2.0
- yiisoft/yii2-redis: ~2.0
Requires (Dev)
- yiisoft/yii2-debug: ~2.0
- yiisoft/yii2-gii: ~2.0
This package is auto-updated.
Last update: 2024-11-07 18:08:07 UTC
README
Pre-requisites
- PHP 7.4+
- Extension
dom
- Extension
fileinfo
- Extension
intl
- Extension
json
- Extension
mbstring
- Extension
- 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 ifBlackcube 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