LeChatSoeur
Using Media Library Manager with Imagick and Filament 3 in Laravel
I'm working on a Laravel project that requires the use of Filament 3.2.34 and the imagick PHP extension. Initially, my setup was running on PHP 8.3.3, which worked well with Filament. However, upon attempting to install imagick, I had to downgrade to PHP 8.1.0, as imagick doesn't support PHP 8.1.2+.
After downgrading PHP to 8.1.0 for imagick compatibility, Filament started showing discontent with a specific dependency issue. I'm encountering an error stating league/csv 9.11.0 requires php ^8.1.2. The catch-22 is that PHP 8.1.2 doesn't play well with imagick, which leaves me in a bit of a bind.
How can I reconcile these version discrepancies to use both imagick and Filament 3.2.34 in my project? Are there any known workarounds or configurations that allow imagick to function with PHP versions beyond 8.1.0, specifically accommodating the ^8.1.2 requirement from league/csv without breaking Filament?
Any guidance, suggestions, or insights from those who've navigated similar dependency conflicts would be greatly appreciated. Thank you!
6 replies