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

controller generation error in L5 #448

Closed subdesign closed 9 years ago

subdesign commented 9 years ago

If you use https://github.com/morrislaptop/LaravelFivePackageBridges to make Generators package work in Laravel 5, using generate:controller fails. There's a quick fix until its officially fixed. Open ControllerGeneratorCommand.php and change:

use Way\Generators\Templates\Data\Controller as ControllerData;

to

use Way\Generators\templates\Data\Controller as ControllerData;

so make T of Templates part lowercase

JeffreyWay commented 9 years ago

This package isn't for L4.

https://github.com/laracasts/Laravel-5-Generators-Extended