laravel getClientOriginalExtension api code example
Example 1: getClientOriginalExtension laravel
$extension = Input::file('photo')->getClientOriginalExtension();
Example 2: getClientOriginalExtension laravel
$name = Input::file('photo')->getClientOriginalName();