Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

php 7.4 not support in this package #225

Open
bmrbehnam opened this issue Apr 10, 2022 · 1 comment · May be fixed by #228
Open

php 7.4 not support in this package #225

bmrbehnam opened this issue Apr 10, 2022 · 1 comment · May be fixed by #228

Comments

@bmrbehnam
Copy link

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.
@arsenstorm arsenstorm linked a pull request Jun 16, 2022 that will close this issue
@arsenstorm
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants