8000 feature #5491 added composer info (OskarStark) · symfony/symfony-docs@dd2c3a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd2c3a4

Browse files
committed
feature #5491 added composer info (OskarStark)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5491). Discussion ---------- added composer info Commits ------- 944a795 added composer info
2 parents 7bfac23 + 944a795 commit dd2c3a4

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