I am running Laravel 5.3 and trying to do some image manipulation. I get this error: the GD library extension is not available with this PHP installation.
I tried putting gd in my composer.json
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.3.*",
"mews/purifier": "~2.0",
"vinkla/hashids": "^2.4",
"barryvdh/laravel-debugbar": "^2.2",
"fzaninotto/faker": "~1.4",
"intervention/image": "^2.3",
"gd": "*"
},
and it didn’t work. I also tried:
"ext-gd": "*"
and that didn't work either. I looked at this page https://devcenter.heroku.com/articles/php-support and it says:
The following built-in extensions were created “jointly” and can be included via composer.json (names of internal identifiers are indicated in parentheses)
Gd (gd)
source
share