skip to Main Content

I’m beginner in symfony v5 and i’m trying to make a controller.
I install all the dependencies and the symfony maker-bundle. When I write the command symfony console make:controller, it automatically aborted.
Here output:

C:UsersYazid BadarouDocumentspinterest-project>php bin/console make:controller

Choose a name for your controller class (e.g. OrangePizzaController):
>

Aborted.

make:controller [–no-template] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-e|–env ENV] [–no-debug] [–] []

2

Answers


  1. You should take a look at this topic: Symfony v4, php bin/console doesn't work as expected. Automatically Aborted

    I saw you are on Windows and PHP is having a bug PHP 7.4.
    I might use PHP 7.3 to fix it.

    Login or Signup to reply.
  2. You can upgrade your php version this issue is fixed 7.4.x

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search