public function delete($name)
    {
        $path = public_path() . DIRECTORY_SEPARATOR . 'packages' . DIRECTORY_SEPARATOR . $name;

        if (!$this->app->make('files')->isDirectory($path)) {
            return false;
        }
        try {
            return $this->publisher->delete($path);
        } catch (Exception $ex) {
            Log::emergency($ex);
            throw new Exception("Unable to delete [{$path}].");
        }
    }