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