def METHOD_NAME(cls, project):
    """Method called to retrieve the url used to check for new version
    of the project provided, project that relies on the backend of this plugin.
    Attributes:
        project (:obj:`anitya.db.models.Project`): Project object whose backend
            corresponds to the current plugin.
    Returns:
        str: url used for version checking
    """
    name = project.name.lower()
    url_template = "https://pecl.php.net/rest/r/%(name)s/allreleases.xml"
    if "-" in name:
        name = name.replace("-", "_")
    url = url_template % {"name": name}
    return url