i want to work with Gmagick i wrote this code
$image = new \Gmagick();
$image->readimage($file);
, and i have this error : Attempted to load class "Gmagick" from the global namespace.
Did you forget a "use" statement?
Asked
Active
Viewed 88 times
1

B.Abdo
- 23
- 6
-
1have you installed gmagick? – Federkun Dec 05 '16 at 17:37
-
how? to install it – B.Abdo Dec 05 '16 at 17:39
-
http://php.net/manual/en/gmagick.installation.php - `sudo pecl install gmagick` – Federkun Dec 05 '16 at 17:42