public function validateAuthors(array $authors)
    {
        if(!count($authors)) {
            $this->addError('Empty authors section');
            return false;
        }
        $count = 0;
        foreach($authors as $k=>$v) {
            $count++;
            array_map('trim', $v);
            $name = $v['name'];
            $login = $v['user'];
            $email = $v['email'];
            $res = $this->validateMaxLen($name, 256) && strlen($name);
            if(!$res) {
                $this->addError("Invalid or empty name for author #{$count}");
            }
            $res = $this->validatePackageName($login) && strlen($login);
            if(!$res) {
                $this->addError("Invalid or empty login for author #{$count}");
            }
            $res = $this->validateEmail($email);
            if(!$res) {
                $this->addError("Invalid or empty email for author #{$count}");
            }
        }
        return ! $this->hasErrors();
    }