symfony serve start as service code example
Example: 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