Closed waitem closed 7 years ago
@waitem Did you find a way to force install dompdf 0.8? Running into the same issue at the moment.
@faustbrian Sorry, no. Beyond my skill level I'm afraid! Hoping that either a) we get a new version of laravel/cashier, or b) someone else can show how to temporarily override the dompdf/dompdf version in laravel/cashier's composer.json until the new version comes out.
Just ended up cloning cashier locally and loading it that way instead of from packagist
OK, I have seen that a fix has been made to the 7.0 branch a few days ago: commit
Until a new 7.0.x release is made, I was able to resolve this issue by making the following changes to my composer.json:
"require": {
...
"laravel/cashier": "7.0.x@dev",
...
}
...
"repositories": [
{
"type": "git",
"url": "https://github.com/laravel/cashier.git"
}
]
and then running composer update
Laravel Spark v4.0.5 (using Laravel/Cashier 7.0.6) produces an error exception when trying to display an team invoice:
Cashier currently requires 0.7.x of dompdf/dompdf.
The problem appears to be resolved with v0.8.0 of dompdf/dompdf. See: github issue
This proposal is to update the version number of dompdf/dompdf in cashier's composer.json to ^0.8.0