Laravel Framework with Generator