protected function copyHomepageViewToApplication() { $target = $this->__DIR__ . '/../../../views/installer/index-post-install.blade.php'; $source = $this->base_path . '/resources/views/homepage.blade.php'; if (!$this->File->exists($source)) { $this->File->copy($target, $source); } }