Miss's avatar
Level 1

Laravel 5.3 : Error when PHP Artisan Migrate install passport

I'm quite new to Laravel. I'm trying to create API for my website. I hit this error when trying to install Passport into my project.

I exactly follow this tutorial this tutorial : https://laravel.com/docs/5.3/passport.

I have run into this error when try to run the migrate command

" C:\Users\user\Desktop\TestAPIs\public_html>php artisan migrate

[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' "

I'm not sure what cause this error as the tables are the default tables.

Thank you

0 likes
0 replies

Please or to participate in this conversation.