ReflectionException in Container.php Class image does not exist for intervention -


i tried save image comes form post request using laravel. gives me following error.

reflectionexception in container.php line 741: class image not exist

i did following things : enabling fileinfo extension in php.ini file , composer dumpautoload nothing work followed guide line here using laravel 5.1

my code bellow

public function saveimage(){      image::make(input::file('files')->getrealpath())         ->resize(870, null, true, false)         ->save('foo.jpg');  } 

did include

      use intervention\image\imagemanagerstatic image;  

in top of document?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -