symfony stop local server code example
Example 1: symfony start server command
$ cd my-project/
# start the server in the background
$ symfony serve -d
# continue working and running other commands...
# show the latest log messages
$ symfony server:log
# stop the server
symfony server:stop
Example 2: symfony change php version
echo 7.4 > .php-version