doctum icon indicating copy to clipboard operation
doctum copied to clipboard

Symfony v7 support

Open mtvbrianking opened this issue 1 year ago • 1 comments

 Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires code-lts/doctum ^5.5 -> satisfiable by code-lts/doctum[v5.5.0, ..., 5.x-dev].
    - orchestra/testbench[v9.0.0, ..., 9.x-dev] require symfony/process ^7.0 -> satisfiable by symfony/process[v7.0.0-BETA1, ..., 7.2.x-dev].
    - Conclusion: don't install symfony/process v7.1.3 (conflict analysis result)
    - Root composer.json requires orchestra/testbench ^9.0 -> satisfiable by orchestra/testbench[v9.0.0, ..., 9.x-dev].

Are there any plans to support Symfony v7?

mtvbrianking avatar Aug 17 '24 18:08 mtvbrianking

Thank you for bringing this up to me If you can draft a PR for the 5.x.x branch that would be great Else I will do it soon

williamdes avatar Aug 17 '24 19:08 williamdes

Done in #71

williamdes avatar Feb 12 '25 18:02 williamdes

Hi @williamdes Any chance of this being tagged in the near future? We're upgrading our docs site and don't want to pin to a commit using dev-main if we can avoid it.

GuySartorelli avatar Nov 11 '25 22:11 GuySartorelli

Hi, thanks for the ping I will process this in the following days, one dependency needs to be thrown out because it blocks the PHP compatibility If you can find an alternative to replace parsedown

Ref https://github.com/erusev/parsedown/pull/900

That would definitely help

williamdes avatar Nov 11 '25 23:11 williamdes

I'd recommend https://github.com/thephpleague/commonmark - anything by thephpleague tends to be very reliable and well maintained. Looks like some of the integrations in the readme aren't maintained anymore but the parser package itself is which is the important part.

I'm using it in a project and haven't had any problems with it.

GuySartorelli avatar Nov 11 '25 23:11 GuySartorelli

Alternatively looks like Fabient Potencier sponsors and contributes to https://github.com/twigphp/markdown-extra - looks like the only purpose of the parser in this repo is for twig anyway so might be a better plug-in replacement.

GuySartorelli avatar Nov 11 '25 23:11 GuySartorelli

@williamdes I've opened a draft PR so you can see what it looks like with one of these options.

GuySartorelli avatar Nov 13 '25 20:11 GuySartorelli