Skip to content

Commit 944a795

Browse files
OskarStarkwouterj
authored andcommitted
added composer info
1 parent 7bfac23 commit 944a795

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

create_framework/http-foundation.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,18 @@ To use this component, add it as a dependency of the project:
121121
122122
Running this command will also automatically download the Symfony
123123
HttpFoundation component and install it under the ``vendor/`` directory.
124+
A ``composer.json`` and a ``composer.lock`` file will be generated as well:
125+
126+
.. code-block:: json
127+
128+
{
129+
"require": {
130+
"symfony/http-foundation": "^2.7"
131+
}
132+
133+
The code block shows the content of the ``composer.json`` file (the actual
134+
version may vary).
135+
124136
125137
.. sidebar:: Class Autoloading
126138

0 commit comments

Comments
 (0)