src/CalendarEventsServiceProvider.php
public function boot()
    {
        $this->publishes(
            [
                __DIR__ . '/../database/migrations' => database_path('/migrations'),
                __DIR__ . '/../config/calendar_events.php' => config_path('calendar_events.php'),
                __DIR__ . '/../resources/lang' => base_path('/resources/lang'),
                __DIR__ . '/../resources/views' => base_path('/resources/vendor/calendar-events'),
                __DIR__ . '/../public/js' => public_path('/js'),
            ]
        );

        Validator::extend('time', '\Todstoychev\CalendarEvents\Validator\CalendarEventsValidator@validateTime');
        Validator::extend(
            'dates_array',
            '\Todstoychev\CalendarEvents\Validator\CalendarEventsValidator@validateDatesArray'
        );

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang/', 'calendar-events');
        $this->loadViewsFrom(__DIR__. '/../resources/views/', 'calendar-events');
    }
public function boot()
    {
        $this->publishes(
            [
                __DIR__ . '/../database/migrations' => database_path('/migrations'),
                __DIR__ . '/../config/calendar_events.php' => config_path('calendar_events.php'),
                __DIR__ . '/../resources/lang' => base_path('/resources/lang'),
                __DIR__ . '/../resources/views' => base_path('/resources/vendor/calendar-events'),
                __DIR__ . '/../public/js' => public_path('/js'),
            ]
        );

        Validator::extend('time', '\Todstoychev\CalendarEvents\Validator\CalendarEventsValidator@validateTime');
        Validator::extend(
            'dates_array',
            '\Todstoychev\CalendarEvents\Validator\CalendarEventsValidator@validateDatesArray'
        );

        $this->loadTranslationsFrom(__DIR__ . '/../resources/lang/', 'calendar-events');
        $this->loadViewsFrom(__DIR__. '/../resources/views/', 'calendar-events');
    }
Bootstrap the application services.

@return void