laravel-pdf icon indicating copy to clipboard operation
laravel-pdf copied to clipboard

php 7.4 not support in this package

Open bmrbehnam opened this issue 2 years ago • 1 comments

Hi I use this package Can not Update Composer . my php cli version of server is 7.4 in composer update command show this error :

- mpdf/mpdf v7.1.9 requires php ^5.6 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 -> your php version (7.4.28) does not satisfy that requirement.
    - niklasravnsborg/laravel-pdf v3.1.0 requires mpdf/mpdf ^7.0 -> satisfiable by mpdf/mpdf[v7.1.9].
    - niklasravnsborg/laravel-pdf is locked to version v3.1.0 and an update of this package was not requested.

bmrbehnam avatar Apr 10 '22 20:04 bmrbehnam

Hey, I have linked a pull request to this that I believe should fix this. An alternative would be to use composer require niklasravnsborg/laravel-pdf --ignore-platform-reqs --ignore-platform-reqs ignores platform requirements and it will force the installation regardless of platform requirements. Be careful with this though; just because you can force install it, it doesn't mean it will work.

arsenstorm avatar Jun 16 '22 19:06 arsenstorm