Commit 92cc4bba authored by Igor Wiedler's avatar Igor Wiedler

[console] added documentation

parent c8688256
......@@ -380,6 +380,30 @@ correctly, to prevent Cross-Site-Scripting attacks.
);
});
Console
-------
Silex includes a lightweight console for updating to the latest
version.
To find out which version of Silex you are using, just invoke
``silex.phar`` on the command-line without any arguments:
.. code-block:: text
$ php silex.phar
Silex version 1ee6b36
To update ``silex.phar`` to the latest version, invoke the ``update``
command:
.. code-block:: text
$ php silex.phar update
This will automatically download a new ``silex.phar`` from
``silex-project.org`` and replace the existing one.
Pitfalls
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment