{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {# Symfony Logo #} {% set icon %} {% if collector.applicationname %} {{ collector.applicationname }} {{ collector.applicationversion }} {% elseif collector.symfonyState is defined %} {% if 'unknown' == collector.symfonyState -%} {%- elseif 'eol' == collector.symfonyState -%} {%- elseif 'eom' == collector.symfonyState -%} {%- elseif 'dev' == collector.symfonyState -%} {%- else -%} {%- endif -%} {{ collector.symfonyversion }} {% endif %} {% endset %} {% set text %} {% if collector.applicationname %}
{{ collector.applicationname }} {{ collector.applicationversion }}
{% endif %}
Symfony {{ collector.symfonyversion }}
Symfony Documentation
{% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': false } %} {# PHP Information #} {% set icon %} {% endset %} {% set text %} {% spaceless %}
PHP {{ collector.phpversion }}
PHP Extensions xdebug accel
PHP SAPI {{ collector.sapiName }}
{% endspaceless %} {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': false } %} {# Environment #} {% set debug_status_class %}sf-toolbar-status sf-toolbar-status-{{ collector.debug ? 'green' : 'red' }}{% endset %} {% set icon %} {{ token }} {% if 'n/a' != collector.appname or 'n/a' != collector.env %} {{ collector.appname }} {{ collector.env }} {% endif %} {% endset %} {% set text %} {% spaceless %} {% if 'n/a' != collector.appname %}
Name {{ collector.appname }}
{% endif %} {% if 'n/a' != collector.env %}
Environment {{ collector.env }}
{% endif %} {% if 'n/a' != collector.debug %}
Debug {{ collector.debug ? 'en' : 'dis' }}abled
{% endif %}
Token {% if profiler_url %} {{ collector.token }} {% else %} {{ collector.token }} {% endif %}
{% endspaceless %} {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endblock %} {% block menu %} Config {% endblock %} {% block panel %}

Project Configuration

{% if collector.applicationname %} {% else %} {% endif %} {% if 'n/a' != collector.appname %} {% endif %} {% if 'n/a' != collector.env %} {% endif %} {% if 'n/a' != collector.debug %} {% endif %}
Key Value
Application {{ collector.applicationname }} {{ collector.applicationversion }} (on Symfony {{ collector.symfonyversion }})Symfony version {{ collector.symfonyversion }}
Application name {{ collector.appname }}
Environment {{ collector.env }}
Debug {{ collector.debug ? 'enabled' : 'disabled' }}

PHP configuration

Key Value
PHP version {{ collector.phpversion }}
Xdebug {{ collector.hasxdebug ? 'enabled' : 'disabled' }}
PHP acceleration {{ collector.hasaccelerator ? 'enabled' : 'disabled' }}
XCache {{ collector.hasxcache ? 'enabled' : 'disabled' }}
APC {{ collector.hasapc ? 'enabled' : 'disabled' }}
Zend OPcache {{ collector.haszendopcache ? 'enabled' : 'disabled' }}
EAccelerator {{ collector.haseaccelerator ? 'enabled' : 'disabled' }}
Full PHP configuration phpinfo
{% if collector.bundles %}

Active bundles

{% set bundles = collector.bundles %} {% for name in bundles|keys|sort %} {% endfor %}
Name Path
{{ name }} {{ bundles[name] }}
{% endif %} {% endblock %}