skip to Main Content

I’m learning symfony 6 I wanted to create my first project but it didn’t work. I have installed php8, symfony, composer, scoot, in their latest version. when I created the project with this command "symfony new my_project_directory –version="6.3." –webapp" I got this error "unable to run C:Usersriro6scoopappscomposer currentcomposer.phar create-project symfony/skeleton C:Usersriro
6DocumentsPHP languageSymfonytutorial-u 6.3.
–no-interaction"
I can’t understand the problem. in advance thank you.

I checked all the versions of php, symfony, composer, scoot, everything is good.

2

Answers


  1. To initialize a new project you may run the command below in the folder you want to create your new project:

    symfony new [projectName] [options]
    

    Replace [projectName] by the name of your project (and not the project directory) and replace [options] by –webapp as you consider using this option.

    Other options may be interesting such as –docker (Symfony will auto add Docker services based on required packages) and –cloud (Auto generates a sensible Platform.sh configuration).

    Login or Signup to reply.
  2. Use composer to install Symfony 6.

    composer create-project symfony/skeleton:"6.3.*" my_project_directory

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