John Davidson

php - unisharp/laravel-ckeditor on Laravel 8+ cannot install package

0 comments
Message:


I'm trying to install ckeditor on my Laravel 8+ project, but can't.
I have the errors:


Problem 1:



  • Root composer.json requires unisharp/laravel-ckeditor 4.7.2 -> satisfiable by unisharp/laravel-ckeditor[4.7.2].



  • unisharp/laravel-ckeditor 4.7.2 requires illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but it conflicts with another require.




this is the errors


I've tried install version 4.7.2 and 5.0, but that still not working.


Is someone know how to solve this problem?



My Answer:
One possible solution to this problem is to manually edit the composer.json file in your Laravel project to specify a compatible version of illuminate/support for the unisharp/laravel-ckeditor package.

You can try adding the following to your composer.json file:

json
"require": {
"unisharp/laravel-ckeditor": "4.7.2",
"illuminate/support": "^5.0"
}


After adding this, run `composer update` in your terminal to update the dependencies. This should resolve the conflict and allow you to install the unisharp/laravel-ckeditor package successfully.

If this solution does not work, you may need to consider using a different package or finding an alternative way to integrate CKEditor into your Laravel project.

Rate this post

5 of 5 based on 9853 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us