Fix laravel generator