public function boot(Router $router)
    {
        // Load auzo middleware
        $router->middleware('auzo.acl', AuzoToolsMiddleware::class);

        // Load auzo validation can rule
        Validator::extend('auzo.can', 'Kordy\AuzoTools\Services\ValidationRules@can');

        // Load auzo language files
        $this->loadTranslationsFrom(__DIR__.'/Translations', 'auzoTools');

        // Publish the configuration file to the application config folder
        $this->publishes([
            __DIR__.'/Config/auzo_tools.php' => config_path('auzo_tools.php'),
        ], 'config');

        // Publish translation files
        $this->publishes([
            __DIR__.'/Translations' => base_path('resources/lang/vendor/auzo-tools'),
        ], 'translations');
    }
public function boot(Router $router)
    {
        // Load auzo middleware
        $router->middleware('auzo.acl', AuzoToolsMiddleware::class);

        // Load auzo validation can rule
        Validator::extend('auzo.can', 'Kordy\AuzoTools\Services\ValidationRules@can');

        // Load auzo language files
        $this->loadTranslationsFrom(__DIR__.'/Translations', 'auzoTools');

        // Publish the configuration file to the application config folder
        $this->publishes([
            __DIR__.'/Config/auzo_tools.php' => config_path('auzo_tools.php'),
        ], 'config');

        // Publish translation files
        $this->publishes([
            __DIR__.'/Translations' => base_path('resources/lang/vendor/auzo-tools'),
        ], 'translations');
    }
public function boot ( Router $ router ) { // Load auzo middleware $ router -> middleware ( 'auzo.acl' , AuzoToolsMiddleware :: class ) ; // Load auzo validation can rule Validator :: extend ( 'auzo.can' , 'Kordy\AuzoTools\Services\ValidationRules@can' ) ; // Load auzo language files $ this -> loadTranslationsFrom ( __DIR__ . '/Translations' , 'auzoTools' ) ; // Publish the configuration file to the application config folder $ this -> publishes ( [ __DIR__ . '/Config/auzo_tools.php' => config_path ( 'auzo_tools.php' ) , ] , 'config' ) ; // Publish translation files $ this -> publishes ( [ __DIR__ . '/Translations' => base_path ( 'resources/lang/vendor/auzo-tools' ) , ] , 'translations' ) ; }
Bootstrap AuzoTools application services.

@param Router $router
Bootstrap AuzoTools application services .