Closed dissto closed 2 years ago
You need to first downgrade to commonmark v1. The simplest way to do this is to manually require graham-campbell/markdown
in your composer.json, and then run composer update
. I am working on a commonmark v2 compatable version of this package, that will run on Laravel 8 & 9. It should be out this week.
@GrahamCampbell have you maybe any updated eta on releasing a v2 compatible version/anything I can do to help?
It's in progress. You can try it using ^14.0
.
Note that you will need to change your config file to match the new one on the 14.0 branch, if you have published it.
Were you able to try the 14.0 branch @extricate? I'm looking for feedback before I do the release.
cc @dissto
Hi @GrahamCampbell, not yet, ran into many other unrelated compatibility issues I hadn't foreseen and thus delayed upgrading to v9 altogether. Anything in particular you'd like feedback on?
The 14.0 version works on both Laravel 8 and 9. :)
I wanna know if it works, basically. Does your existing usage still work.
Not sure if this was ever closed, but wanted to chime in and say that I manually added
"graham-campbell/markdown": "^14.0"
to my composer.json and then ran composer update and everything is working with no issues. Cheers
v14.0.0 has now been released, with support for CommonMark 2, and Laravel 8 & 9.
PHP version: 8.0.13
Description Running the composer command throws the following error:
How to reproduce Run the composer command.
composer require graham-campbell/markdown:^13.1
Possible Solution Running with -W flag. Throws a bunch more errors.
Additional context Laravel: ^8.65