public function store(Request $request)
{
app()->make('Request')->setRequest($request->toArray());
$scaffold = app()->make('Scaffold');
$scaffold->model()->views()->controller()->migration()->route();
$paths = app()->make('Path');
$names = app()->make('Parser');
$scaffoldInterface = new Scaffoldinterface();
$scaffoldInterface->migration = $paths->migrationPath;
$scaffoldInterface->model = $paths->modelPath();
$scaffoldInterface->controller = $paths->controllerPath();
$scaffoldInterface->views = $paths->dirPath();
$scaffoldInterface->tablename = $names->plural();
$scaffoldInterface->package = config('amranidev.config.package');
$scaffoldInterface->save();
Session::flash('status', 'Created Successfully ' . $names->singular());
return redirect('scaffold');
}