lib/Github/Api/Repo.php
public function tags($username, $repository, array $params = [])
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/tags', $params);
    }
public function tags($username, $repository, array $params = [])
    {
        return $this->get('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/tags', $params);
    }
public function tags ( $ username , $ repository , array $ params = [ ] ) { return $ this -> get ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/tags' , $ params ) ; }
Get the tags of a repository.

@link http://developer.github.com/v3/repos/

@param string $username   the user who owns the repository
@param string $repository the name of the repository
@param array  $params     the additional parameters like milestone, assignees, labels, sort, direction

@return array list of the repository tags
Get the tags of a repository .