iberflow / laravel-model-generator

Laravel 5 model generator for an existing schema
264 stars 75 forks source link

Command "make:models" is not defined. #25

Closed cshipley closed 8 years ago

cshipley commented 8 years ago

I tried using it with lumen -- following the install directions, but "php artisan make:models" gives this error:

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "make:models" is not defined.
  Did you mean this?
      make:migration

Am I doing something wrong, or is this not supported with lumen?

iberflow commented 8 years ago

Hi, are you sure you've registered the service provider? :) if so, please check what your current environment is set.

cshipley commented 8 years ago

Thanks for your help. It was a registration issue.

allan-api commented 4 years ago

you can execute php artisan list; test php artisan make:model ClassName