Super newbie here (sorry if this question leads to a head smacking moment). I have just started learning about Laravel (using a Windows operating system) and attempted to make a controller via command line and received a 'Fatal Error' message:
php artisan make:controller PagesController
[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected end of file.
Could someone please help me with this? Composer is up to date. Thanks!