skip to Main Content

I am trying to create laravel project on windows but this problem show to me and
I try update the composer.
the php version is 8.0.6,
the composer version is 2.0.14,
the laravel version is 4.2.5,

enter image description here

2

Answers


  1. Instead of laravel new your-project-name you should use composer create-project laravel/laravel your-project-name 4.2.*

    Login or Signup to reply.
  2. Per comments on this Github issue this is a problem with the latest version of the Symfony Console component, which is 5.3.0. Composer is based on this library, but you can downgrade to the previous version 5.2.8 with this command:

    composer global require symfony/console:5.2.x
    

    And then force the update with:

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