JeffreyWay / Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
https://packagist.org/packages/way/generators
MIT License
27 stars 9 forks source link

which version should I use at laravel 4.1 #424

Closed ghost closed 9 years ago

ghost commented 9 years ago

I have to use laravel 4.1 Could u tell me which version should I use ? is "way/generators": "1.1" ?

laracasts commented 9 years ago

Use ~2.0

ghost commented 9 years ago

@laracasts u mean "way/generators": "1.*" am I right ?

ghost commented 9 years ago

BTW in my case, I develop use Homestead, but when the site open, it's running on PHP 5.3, wish your opinion

ghost commented 9 years ago

I update composer to install "way/generators": "~2.0", then I run php artisan there isn't generate command in the list, what's the problem?

zaheen commented 9 years ago

Did you update service provider list? in config/app.php file. like this

'Way\Generators\GeneratorsServiceProvider'

ghost commented 9 years ago

@zaheen I just edit composer to add "way/generators": "~2.0" and run composer update,

zaheen commented 9 years ago

@wutong after that, add the following line to app.php file.

'Way\Generators\GeneratorsServiceProvider'

The providers list, it must be around line 119, after adding this line, run artisan command and you will see additional commands.