{% extends "PackagistWebBundle::layout.html.twig" %} {% set showSearchDesc = 'hide' %} {% block title %}{{ package.name }} - {{ parent() }}{% endblock %} {% block head_feeds %} {{ parent() }} {% endblock %} {% block scripts %} {% endblock %} {% block description -%} {{ package.description }} {%- endblock %} {% set hasActions = is_granted('ROLE_EDIT_PACKAGES') or is_granted('ROLE_EDIT_PACKAGES') or package.maintainers.contains(app.user) %} {% block content %}
{% if not package.autoUpdated and app.user and (package.maintainers.contains(app.user) or is_granted('ROLE_UPDATE_PACKAGES')) %} {% if "github.com" in package.repository %}
{{ package.description }}
{% if hasActions %}
{% for maintainer in package.maintainers -%}
{% endfor %}
{% if addMaintainerForm is defined or removeMaintainerForm is defined %}
{% if addMaintainerForm is defined %}{% endif %}
{% if removeMaintainerForm is defined %}{% endif %}
{% endif %}
Installs: {% if downloads.total is defined %}{{ downloads.total|number_format(0, '.', ' ')|raw }}{% else %}N/A{% endif %}
{% if dependents is defined %}Dependents: {{ dependents|number_format(0, '.', ' ')|raw }}
{% endif %} {% if package.gitHubStars is not null %}Stars: {{ package.gitHubStars|number_format(0, '.', ' ')|raw }}
{% endif %} {% if package.gitHubWatches is not null %}Watchers: {{ package.gitHubWatches|number_format(0, '.', ' ')|raw }}
{% endif %} {% if package.gitHubForks is not null %}Forks: {{ package.gitHubForks|number_format(0, '.', ' ')|raw }}
{% endif %} {% if package.gitHubOpenIssues is not null %}Open Issues: {{ package.gitHubOpenIssues|number_format(0, '.', ' ')|raw }}
{% endif %} {% if package.language is not empty %}Language: {{ package.language }}
{% endif %}This package has not been crawled yet, some information is missing.
{% else %}This package has no released version yet, and little information is available.
{% endif %}