-
Hey, just wanted to let you know, that if you try to install your package with composer like you described in the readme, it will install branch v2. composer require spatie/pdf-to-image Results in this being installed: https://packagist.org/packages/spatie/pdf-to-image#v2.x-dev Just fyi. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I had this issue also, When I changed the version in composer.json from
So because I didn't have the imagick extension enabled in my PHP, composer was installing the latest version of v2 that it could without the "ext-imagick" composer requirement (i.e. v2.x.dev) I checked PHP by running: php -m | grep imagick Sure enough there was no imagick module loaded. Fixing this was easy: pecl install imagick; valet restart Now |
Beta Was this translation helpful? Give feedback.
I had this issue also,
composer require spatie/pdf-to-image
was installingv2.x-dev 6718a89
.When I changed the version in composer.json from
^2.1
to2.1
and hitcomposer update
, I got the following error message:So because I didn't have the imagick extension enabled in my PHP, composer was installing the latest version of v2 that it could without the "ext-imagick" composer requirement (i.e. v2.x.dev)
I checked PHP by running:
php -m | grep ima…