if($request->hasFile('image'))
{
$image = $request->file('image');
$filename = time().'.'.$image->getClientOriginalExtension();
$location = public_path('files/images/blog/' . $filename);
\Illuminate\Support\Facades\File::makeDirectory($location);
Image::make($image)->save($location);
}
mkdir(): No such file or directory