0

I am working on Lumen but why PHP artisan command is not working.

here are my commands those i ran:

~$: php artisan migrate:install
Migration table created successfully.
-$: php artisan make:migration --create=users create_users_table  
[Symfony\Component\Debug\Exception\FatalThrowableError]     Parse error: syntax error, unexpected ',' 
AstroCB
  • 12,337
  • 20
  • 57
  • 73
Naveen Gupta
  • 306
  • 3
  • 11

2 Answers2

1

The issue in your code is due to this change - Git Commit History

Change the route in web.php back to:

$app->get('/', function () use ($app) {
  return $app->version();
});
ayip
  • 2,473
  • 1
  • 19
  • 30
0

It must be a typo, probably on migration file. Show your code here or on git. And write like this php artisan make:migration create_users_table --create=users

zozodev
  • 89
  • 9
  • Thanks for your comment but it is not working too.Here is mycode on github https://github.com/Naveen-Gupta/lumen.git – Naveen Gupta Jul 02 '17 at 18:03