Permalink
Browse files

feature #4883 Global dump (nicolas-grekas)

This PR was merged into the 2.6 branch.

Discussion
----------

Global dump

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | all
| Fixed tickets | -

Commits
-------

4121dbd [VarDumper] add a tip about global dump() availability
  • Loading branch information...
weaverryan committed Jan 30, 2015
2 parents 9ec09ee + 4121dbd commit 4226fc27a06aeb975af1b1aae1e6207a07bbbb6f
Showing with 11 additions and 0 deletions.
  1. +11 −0 components/var_dumper/introduction.rst
@@ -62,6 +62,17 @@ current PHP SAPI:
You'll also learn how to change the format or redirect the output to
wherever you want.
.. tip::
In order to have the ``dump()`` function always available when running
any PHP code, you can install it globally on your computer:
#. Run ``composer global require symfony/var-dumper``;
#. Add ``auto_prepend_file = ${HOME}/.composer/vendor/autoload.php``
to your ``php.ini`` file;
#. From time to time, run ``composer global update`` to have the latest
bug fixes.
DebugBundle and Twig Integration
--------------------------------

0 comments on commit 4226fc2

Please sign in to comment.