Quantcast
Channel: Symfony Blog
Viewing all articles
Browse latest Browse all 3058

New in Symfony 3.3: "about" command

$
0
0
Roland Franssen

Contributed by
Roland Franssen
in #19278.

In Symfony 3.3, the FrameworkBundle will provide a new console command calledabout. 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 theSymfony 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                trueCharset              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              trueAPCu                 trueXdebug               false
 -------------------- -------------------------------------------

Be trained by Symfony experts - 2017-04-03 Paris - 2017-04-04 London - 2017-04-04 London

Viewing all articles
Browse latest Browse all 3058

Trending Articles