symfony - 'bin' is not recognized as an internal or external command symfony - 'bin' is not recognized as an internal or external command symfony symfony

symfony - 'bin' is not recognized as an internal or external command


This is a Linux like command. Obviously you are coming from Windows system:

php bin\console doctrine:database:create

Pro tip: you can shortcut commands as long as the shortcut is unique:

php bin\console doc:dat:cr

Make sure you cd to the app's directory before running the command too.