Symfony 4 was released on November 30th.
Update now to the best Symfony ever!

New in Symfony 3.3: "about" command

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
 -------------------- -------------------------------------------

Comments

Nice thing!
Is there a possible to add custom information to output? Such possibility is definitely required if this is intended to supplement bugreports
Great! Would love to see also the list of enabled bundles, and their version. It'd also be nice to have this as a service, to collect all the same info and render it with a website.
@Sidora : I bet you can listen to a console.terminate event and add your own info if the "about" command was called ;)
@Tac Tacelosky bundles we're left out intentionally after some discussion; it's not really relevant to the current environment. The code is not rocket science so you can probably just copy it to some service. Note however this info is already displayed in the (web) profiler.

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.