public function boot(Factory $validation) { $this->publishes([dirname(__DIR__) . '/config/recruitment.php' => config_path('/recruitment.php')], 'config'); $this->loadViewsFrom(dirname(__DIR__) . '/resources/views', 'digbang'); $validation->extend('cv', function ($attribute, $value) { $fol = new FileOrLink($value); return $fol->isFile() || $fol->isLink(); }); $this->commands([WorkWithUs::class]); }