How to Retrieve all input data in laravel

By | June 21, 2018

Retrieve all input data as an array using the following method

$input = $request->all();

28.Directory structure in laravel

1.Root directory
2.App directory

Root directory contains the below directories.
app,bootstrap,config,database,public,resources,routes,storage,test,vendor

App directory contains the below directories
Broadcasting,Console,events,Exceptions,Http,Jobs,Listeners,Mail,Notifications,Policies,Providers,Rules

Click here for more interview questions