getClientOriginalExtension laravel code example
Example 1: getClientOriginalExtension laravel
$extension = Input::file('photo')->getClientOriginalExtension();
Example 2: getClientOriginalExtension laravel
$name = Input::file('photo')->getClientOriginalName();
Example 3: getClientOriginalExtension laravel
if (Input::file('photo')->isValid())
{
//
}