4 years ago

PHP Artisan not working

Posted 4 years ago by roadrunner89

Hi everyone,

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!

Please sign in or create an account to participate in this conversation.