src/Controller.php
public function getPublish($group)
    {
        if ($group && $group != '*') {
            $this->manager->exportTranslations($group);
        } else {
            $this->manager->exportAllTranslations();
        }
        $errors = $this->manager->errors();

        event(new TranslationsPublished($group, $errors));
        return Response::json(array('status' => $errors ? 'errors' : 'ok', 'errors' => $errors));
    }
public function getPublish($group)
    {
        if ($group && $group != '*') {
            $this->manager->exportTranslations($group);
        } else {
            $this->manager->exportAllTranslations();
        }
        $errors = $this->manager->errors();

        event(new TranslationsPublished($group, $errors));
        return Response::json(array('status' => $errors ? 'errors' : 'ok', 'errors' => $errors));
    }
Test for postPublish
@param $group
@return \Illuminate\Http\JsonResponse