src/Providers/ForumServiceProvider.php
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'litecms.forum');

        // Bind facade
        $this->app->bind('litecms.forum', function ($app) {
            return $this->app->make('Litecms\Forum\Forum');
        });

        // Bind Category to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\CategoryRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\CategoryRepository::class
        );
        // Bind Question to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\QuestionRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\QuestionRepository::class
        );
        // Bind Response to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\ResponseRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\ResponseRepository::class
        );

        $this->app->register(\Litecms\Forum\Providers\AuthServiceProvider::class);

        $this->app->register(\Litecms\Forum\Providers\RouteServiceProvider::class);

    }
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'litecms.forum');

        // Bind facade
        $this->app->bind('litecms.forum', function ($app) {
            return $this->app->make('Litecms\Forum\Forum');
        });

        // Bind Category to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\CategoryRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\CategoryRepository::class
        );
        // Bind Question to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\QuestionRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\QuestionRepository::class
        );
        // Bind Response to repository
        $this->app->bind(
            'Litecms\Forum\Interfaces\ResponseRepositoryInterface',
            \Litecms\Forum\Repositories\Eloquent\ResponseRepository::class
        );

        $this->app->register(\Litecms\Forum\Providers\AuthServiceProvider::class);

        $this->app->register(\Litecms\Forum\Providers\RouteServiceProvider::class);

    }
Register the service provider.

@return void