Laravel 4 generate not working :: solved
















 [InvalidArgumentException]
 There are no commands defined in the "generate" namespace.


solved by the below method :) 

Begin by installing this package through Composer. Edit your project's composer.json file to require way/generators.
"require-dev": {
    "way/generators": "~2.0"
}
Next, update Composer from the Terminal:
composer update --dev
Once this operation completes, the final step is to add the service provider. Openapp/config/app.php, and add a new item to the providers array.
'Way\Generators\GeneratorsServiceProvider'\

0 التعليقات :