New in Symfony 3.3: "about" command
March 31, 2017 • Published by Javier Eguiluz
Warning: This post is about an unsupported Symfony version. Some of this information may be out of date. Read the most recent Symfony Docs.
Contributed by
Roland Franssen
in #19278.
In Symfony 3.3, the FrameworkBundle will provide a new console command called
about
. This command provides information about your Symfony application
and your PHP environment. Its output can be useful to debug issues, so you
should consider asking for it when a developer reports issues using your software.
As an example, this is the output displayed when executing about
in the
Symfony Demo application:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
$ ./bin/console about
-------------------- -------------------------------------------
Symfony
-------------------- -------------------------------------------
Version 3.2.5
End of maintenance 07/2017
End of life 01/2018
-------------------- -------------------------------------------
Kernel
-------------------- -------------------------------------------
Type AppKernel
Name app
Environment dev
Debug true
Charset UTF-8
Root directory ./app
Cache directory ./var/cache/dev (587 KiB)
Log directory ./var/logs (1.5 MiB)
-------------------- -------------------------------------------
PHP
-------------------- -------------------------------------------
Version 7.1.3
Architecture 64 bits
Intl locale en_US_POSIX
Timezone America/New_York (2017-03-31T16:55:46-05:00)
OPcache true
APCu true
Xdebug false
-------------------- -------------------------------------------
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
Is there a possible to add custom information to output? Such possibility is definitely required if this is intended to supplement bugreports