User data
Request Object
$request->except();
$request->only();
$request->input();
To get segments of the URL
$request->segment();
Form Requests
- Extract common behaviours from controllers.
- Map submission of a form
- One or two public methods: rules() - validation rules and authorize() - returns true, if user is authorised