src/ApiServiceProvider.php
protected function registerForConsole()
    {
        $this->publishes([
            __DIR__.'/../config/api.php' => base_path('config/api.php'),
        ], 'laravel-api');

        $this->commands([
            Console\GenerateClientCommand::class,
            Console\GenerateTokenCommand::class,
        ]);
    }
protected function registerForConsole()
    {
        $this->publishes([
            __DIR__.'/../config/api.php' => base_path('config/api.php'),
        ], 'laravel-api');

        $this->commands([
            Console\GenerateClientCommand::class,
            Console\GenerateTokenCommand::class,
        ]);
    }
Register for console.

@return void