Skip to content

Rename and refocus Symfony Local Web Server docs to Symfony CLI #21167

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

Merged
merged 1 commit into from
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@
/setup/composer /setup
/security/security_checker /setup
/setup/built_in_web_server /setup/symfony_server
/setup/symfony_server /setup/symfony_cli
/service_container/parameters /configuration
/routing/generate_url_javascript /routing
/routing/slash_in_parameter /routing
Expand Down
4 changes: 2 additions & 2 deletions configuration/micro_kernel_trait.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Next, create an ``index.php`` file that defines the kernel class and runs it:
options inside the ``configureContainer()`` method).

That's it! To test it, start the :doc:`Symfony Local Web Server
</setup/symfony_server>`:
</setup/symfony_cli>`:

.. code-block:: terminal

Expand Down Expand Up @@ -470,7 +470,7 @@ this:
└─ composer.lock

As before you can use the :doc:`Symfony Local Web Server
</setup/symfony_server>`:
</setup/symfony_cli>`:

.. code-block:: terminal

Expand Down
2 changes: 1 addition & 1 deletion console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ completion (by default, by pressing the Tab key).
.. tip::

If you are using the :doc:`Symfony local web server
</setup/symfony_server>`, it is recommended to use the built-in completion
</setup/symfony_cli>`, it is recommended to use the built-in completion
script that will ensure the right PHP version and configuration are used when
running the Console Completion. Run ``symfony completion --help`` for the
installation instructions for your shell. The Symfony CLI will provide
Expand Down
2 changes: 1 addition & 1 deletion contributing/code/reproducer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ to a route definition. Then, after creating your project:
of controllers, actions, etc. as in your original application.
#. Create a small controller and add your routing definition that shows the bug.
#. Don't create or modify any other file.
#. Install the :doc:`local web server </setup/symfony_server>` provided by Symfony
#. Install the :doc:`local web server </setup/symfony_cli>` provided by Symfony
and use the ``symfony server:start`` command to browse to the new route and
see if the bug appears or not.
#. If you can see the bug, you're done and you can already share the code with us.
Expand Down
2 changes: 1 addition & 1 deletion create_framework/front_controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Now, configure your web server root directory to point to ``web/`` and all
other files will no longer be accessible from the client.

To test your changes in a browser (``http://localhost:4321/hello?name=Fabien``),
run the :doc:`Symfony Local Web Server </setup/symfony_server>`:
run the :doc:`Symfony Local Web Server </setup/symfony_cli>`:

.. code-block:: terminal

Expand Down
2 changes: 1 addition & 1 deletion create_framework/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ start with the simplest web application we can think of in PHP::

printf('Hello %s', $name);

You can use the :doc:`Symfony Local Web Server </setup/symfony_server>` to test
You can use the :doc:`Symfony Local Web Server </setup/symfony_cli>` to test
this great application in a browser
(``http://localhost:8000/index.php?name=Fabien``):

Expand Down
2 changes: 1 addition & 1 deletion frontend/encore/dev-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ method in your ``webpack.config.js`` file:
Enabling HTTPS using the Symfony Web Server
-------------------------------------------

If you're using the :doc:`Symfony web server </setup/symfony_server>` locally with HTTPS,
If you're using the :doc:`Symfony web server </setup/symfony_cli>` locally with HTTPS,
you'll need to also tell the dev-server to use HTTPS. To do this, you can reuse the Symfony web
server SSL certificate:

Expand Down
2 changes: 1 addition & 1 deletion mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ Enabling an Email Catcher
When developing locally, it is recommended to use an email catcher. If you have
enabled Docker support via Symfony recipes, an email catcher is automatically
configured. In addition, if you are using the :doc:`Symfony local web server
</setup/symfony_server>`, the mailer DSN is automatically exposed via the
</setup/symfony_cli>`, the mailer DSN is automatically exposed via the
:ref:`symfony binary Docker integration <symfony-server-docker>`.

Sending Test Emails
Expand Down
2 changes: 1 addition & 1 deletion mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Thanks to :doc:`the Docker integration of Symfony </setup/docker>`,
:ref:`Flex <symfony-flex>` proposes to install a Mercure hub for development.
Run ``docker-compose up`` to start the hub if you have chosen this option.

If you use the :doc:`Symfony Local Web Server </setup/symfony_server>`,
If you use the :doc:`Symfony Local Web Server </setup/symfony_cli>`,
you must start it with the ``--no-tls`` option to prevent mixed content and
invalid TLS certificate issues:

Expand Down
2 changes: 1 addition & 1 deletion page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ metadata to code):
}
}

That's it! If you are using :doc:`the Symfony web server </setup/symfony_server>`,
That's it! If you are using :doc:`the Symfony web server </setup/symfony_cli>`,
try it out by going to: http://localhost:8000/lucky/number

.. tip::
Expand Down
2 changes: 1 addition & 1 deletion quick_tour/the_big_picture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Symfony application:
Can we already load the project in a browser? Yes! You can set up
:doc:`Nginx or Apache </setup/web_server_configuration>` and configure their
document root to be the ``public/`` directory. But, for development, it's better
to :doc:`install the Symfony local web server </setup/symfony_server>` and run
to :doc:`install the Symfony local web server </setup/symfony_cli>` and run
it as follows:

.. code-block:: terminal
Expand Down
2 changes: 1 addition & 1 deletion setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ development.
.. _symfony-binary-web-server:

However for local development, the most convenient way of running Symfony is by
using the :doc:`local web server </setup/symfony_server>` provided by the
using the :doc:`local web server </setup/symfony_cli>` provided by the
``symfony`` binary. This local server provides among other things support for
HTTP/2, concurrent requests, TLS/SSL and automatic generation of security
certificates.
Expand Down
Loading
Loading