open20/open20-graphql

There is no license information available for the latest version (dev-main) of this package.

graphQL module for Open20

dev-main 2024-08-01 15:42 UTC

README

Description of the module

Installation

  1. The preferred way to install this extension is through composer.

    Either run

    `bash composer require my-custom-module/my-custom-module `

    or add

    "my-custom-module/my-custom-module": "~1.0"

    to the require section of your composer.json file.

  2. Add module to your main config in common:

    ```php
    <?php
    'modules' => [
        'my-custom-module' => [
            'class' => 'my\custom\module\Module'
        ],
    ],
    ```
    
    

    Also, add these lines to your console config:

    'controllerMap' => [
        'project-management' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => '@my-custom-module/migrations'
        ],
    ],
    
  3. Apply migrations

    `bash php yii migrate/up --migrationPath=@vendor/my-custom-module/my-custom-module/src/migrations `