公式ドキュメントでSymfonyをインストールしようとしたらつまずいたので、メモ
$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony^
$symfony new my_project_name
$ cd my_project_name/
$ php bin/console server:run
There are no commands defined in the "server" namespace.
エラー
There are no commands defined in the "server" namespace.
"server"名前空間に定義されているコマンドはありません。
とりあえず情報収集
[stackoverflow](https://web.archive.org/web/20200925222621/https://stackoverflow.com/questions/43116427/serverrun- exception-there-are-no-commands-defined-in-the-server-namespace)
run this command before starting the server.
composer require symfony/web-server-bundle --dev
これを実行してからもう一度実行すると動いた。
サービスが表示されるかはまた別の話