- DjKh,
Bonjour à tous, je tente de créer un projet symfony et la doc indique 2 manières:
- composer create-project symfony/website-skeleton my_project_name Ici pas de soucis sa marche.
- symfony new my_project_name —full Par contre avec symfony CLI impossible de créer de projet. Mon message d’erreur:
PS C:\Users\Administrateur\Desktop\Project-in-Process\symfony> symfony new test0 —full
- Creating a new Symfony project with Composer (running C:\ProgramData\ComposerSetup\bin\composer.phar create-project symfony/website-skeleton C:\Users\Administrateur\Desktop\Project-in-Process\symfony\test0 —no-interaction)
Creating a "symfony/website-skeleton" project at "./test0"
[InvalidArgumentException] Could not find package symfony/website-skeleton with stability stable in a version installable using your PHP versi on, PHP extensions and Composer version.
create-project [-s|—stability STABILITY][--prefer-source] [—prefer-dist][--prefer-install PREFER-INSTALL] [—repository REPOSITORY][--repository-url REPOSITORY-URL] [—add-repository][--dev] [—no-dev][--no-custom-installers] [—no-scripts][--no-progress] [—no-secure-http][--keep-vcs] [—remove-vcs][--no-install] [—ignore-platform-req IGNORE-PLATFORM-REQ][--ignore-platform-reqs] [—ask][--] [<package>][<directory>] [<version>]
unable to run C:\ProgramData\ComposerSetup\bin\composer.phar create-project symfony/website-skeleton C:\Users\Admini
strateur\Desktop\Project-in-Process\symfony\test0 —no-interaction
Si je fais php -v PHP 8.1.1 (cli) (built: Dec 15 2021 10:36:13) (NTS Visual C++ 2019 x64)
Je suis débutant donc surement un truc m’échappe, quelqu’un pourrait-il m’aider SVP