When I enter this command in Visual Studio Code terminal to install the server package in my project (composer require server --dev
) it shows this error message
[InvalidArgumentException]
Could not find package symfony/web-server-bundle in a version matching 5.0.* "
You need to add the version to. Like this:
composer require symfony/web-server-bundle --dev ^4.4.2
You can check for the latest version here: https://packagist.org/packages/symfony/web-server-bundle
Install Symfony https://symfony.com/download and use :
symfony server:start
symfony server:start -d
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With