captchainterventionlaravel-11laragon

Unresolvable dependency resolving [Parameter #0 [ <required> Intervention\Image\Interfaces\DriverInterface|string $driver ]] in class


I'm using :

error occurs when i want to try {!! captcha_img() !!}

Unresolvable dependency resolving [Parameter #0 [ <required> Intervention\Image\Interfaces\DriverInterface|string $driver ]] in class Intervention\Image\ImageManager

how to solve this error?


Solution

  • i use same config as @Arif hidayah

    i just change the value in composer.json file

    { "mews/captcha": "3.3.3", "intervention/image": "2.7.2", }