-
Notifications
You must be signed in to change notification settings - Fork 89
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
I can not download in laravel 8 #70
Comments
Try it, composer require ckfinder/ckfinder-laravel-package -W |
@lethanhquoc2014 do you still have the problem? |
I have problem composer require ckfinder/ckfinder-laravel-package -W Using version ^4.0 for ckfinder/ckfinder-laravel-package Problem 1 You can also try re-running composer require with an explicit version constraint, e.g. "composer require ckfinder/ckfinder-laravel-package:*" to figure out if any version is installable, or "composer require ckfinder/ckfinder-laravel-package:^2.1" if you know which you need. |
From information you have provided, I see that in your composer.json you have "laravel/framework: ^8.6 ". Package needs laravel 9.0 or higher. So it won't work, because your composer.json as it is won't allow you to upgrade your laravel to 9.0. From composer documentation: Caret Version Range (^)[ The ^ operator behaves very similarly, but it sticks closer to semantic versioning, and will always allow non-breaking updates. For example ^1.2.3 is equivalent to >=1.2.3 <2.0.0 as none of the releases until 2.0 should break backwards compatibility. For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0 and ^0.0.3 as >=0.0.3 <0.0.4. This is the recommended operator for maximum interoperability when writing library code. Example: ^1.2.3 Let me know if that was helpful. |
which version works with laravel 8? |
@Djagannath: If you are looking for a package for Laravel < 9, please use version 3. |
trying to install composer require ckfinder/ckfinder-laravel-package "3.5.3" Problem 1 Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. |
@Djagannath make backup of files just in case ;) and now try to delete composer.lock (maybe also removal of vendor will be required) and then try |
working, thx |
@Djagannath I'm glad it worked. Enjoy coding and using ;) |
I have an error when I run this command:
php artisan ckfinder:download
=> Could not download the distribution package of CKFinder.
What should I do, please ?
The text was updated successfully, but these errors were encountered: