公式ドキュメントで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"名前空間に定義されているコマンドはありません。
とりあえず情報収集
run this command before starting the server.
composer require symfony/web-server-bundle --dev
これを実行してからもう一度実行すると動いた。
サービスが表示されるかはまた別の話
コメント