Skip to content

Update the_big_picture.rst #19820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ safe & easy!) and offers long-term support.
Downloading Symfony
-------------------

First, make sure you've installed `Composer`_ and have PHP 8.1 or higher.
First, make sure you've installed `Composer`_ and have PHP 8.2.0 or higher.

Ready? In a terminal, run:

Expand Down Expand Up @@ -136,10 +136,17 @@ see: Hello Symfony! The value of the ``{name}`` in the URL is available as a ``$
argument in your controller.

But this can be even simpler! Comment-out the YAML route by adding the
``#`` character:
``#`` character. Uncomment previous code to avoid a notfound error.

.. code-block:: yaml
.. code-block:: diff

// Uncomment the template code to avoid an error
controllers:
resource:
path: ../src/Controller/
namespace: App\Controller

type: attribute
# config/routes.yaml
# index:
# path: /hello/{name}
Expand Down