{% 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 }}
{% 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 %}
{% endspaceless %}
{% endset %}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %}
{% endblock %}
{% block menu %}
Config
{% endblock %}
{% block panel %}
Project Configuration
Key
Value
{% if collector.applicationname %}
Application
{{ collector.applicationname }} {{ collector.applicationversion }} (on Symfony {{ collector.symfonyversion }})
{% else %}
Symfony version
{{ collector.symfonyversion }}
{% endif %}
{% if 'n/a' != collector.appname %}
Application name
{{ collector.appname }}
{% endif %}
{% if 'n/a' != collector.env %}
Environment
{{ collector.env }}
{% endif %}
{% if 'n/a' != collector.debug %}
Debug
{{ collector.debug ? 'enabled' : 'disabled' }}
{% endif %}
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
Name
Path
{% set bundles = collector.bundles %}
{% for name in bundles|keys|sort %}
{{ name }}
{{ bundles[name] }}
{% endfor %}
{% endif %}
{% endblock %}