Skip to content

Compatibility Issues with Laravel 11 and Statamic 5 #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoshSalway opened this issue Dec 20, 2024 · 1 comment
Open

Compatibility Issues with Laravel 11 and Statamic 5 #59

JoshSalway opened this issue Dec 20, 2024 · 1 comment

Comments

@JoshSalway
Copy link

JoshSalway commented Dec 20, 2024

Hi Torchlight Team,

Are there plans to update torchlight-commonmark (with illuminate/support:^11.0) and Statamic 5 (with league/commonmark:^2.0)? Currently, the version conflicts make it difficult to integrate.

Thanks for your time and for maintaining this great tool!

Best regards,
Josh

Related issue: #58

@antoniolimadev
Copy link

I've just run into this issue (using Laravel 12).

For those looking for a temporary solution, here's a quick trick that might fix this for you.

After installing the torchlight-laravel extension (latest version currently being 0.6.1), update your composer.json like so:

-"torchlight/torchlight-laravel": "0.6.1"
+"torchlight/torchlight-laravel": "0.6.1 as 0.5.14"

This will tell composer that we use version 0.5.14 but require version 0.6.1.

After this, you should be able to install torchlight/torchlight-commonmark without any issues.

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

No branches or pull requests

2 participants