ckfinder / ckfinder-laravel-package

CKFinder 3 package for Laravel
Other
157 stars 89 forks source link

I can't install laravel 10 #102

Open phamtuyennina opened 1 year ago

phamtuyennina commented 1 year ago

I can't install composer require ckfinder/ckfinder-laravel-package on laravel 10. My error table, if you have installed it, please guide me.

- ckfinder/ckfinder-laravel-package[v4.0.1, ..., v4.0.2] require league/flysystem-ftp ^3.0 -> satisfiable by league/flysystem-ftp[3.0.0, ..., 3.16.0].
- ckfinder/ckfinder-laravel-package[v3.4.4, ..., v3.5.1] require laravel/framework ^5.5 -> found laravel/framework[v5.5.0, ..., v5.8.38] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package[v3.5.1.1, ..., v3.5.1.2] require laravel/framework ^5.5|~6.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44] but i    - ckfinder/ckfinder-laravel-package[v3.5.1.3, ..., v3.5.1.5] require laravel/framework ^5.5|~6.0|~7.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package[v3.5.1.6, ..., v3.5.2.1] require laravel/framework ^5.5|^6.0|^7.0|^8.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package v3.5.3 requires laravel/framework ^5.5|^6.20.42|^7.0|^8.0 -> found laravel/framework[v5.5.0, ..., v5.8.38, v6.20.42, v6.20.43, v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but it conflicts with your root composer.json require (^10.10).
- ckfinder/ckfinder-laravel-package v4.0.0 requires laravel/framework ^9.0 -> found laravel/framework[v9.0.0, ..., v9.52.16] but it conflicts with your root composer.json require (^10.10).
- league/flysystem-ftp[3.0.0, ..., 3.16.0] require ext-ftp * -> it is missing from your system. Install or enable PHP's ftp extension.
- Root composer.json requires ckfinder/ckfinder-laravel-package * -> satisfiable by ckfinder/ckfinder-laravel-package[v3.4.4, ..., v3.5.3, v4.0.0, v4.0.1, v4.0.2].

To enable extensions, verify that they are enabled in your .ini files:

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. 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.

bmlotek commented 1 year ago

Hello @phamtuyennina, sorry for late answer.

I installed fresh instance of laravel 10 with php 8.1 enabled and no errors during downloading or configuring package didn't happen. I also managed to run it locally.

Could you provide me your composer.json file?

Khurramxhahzad commented 1 year ago

@phamtuyennina I was facing the same issue. When I enabled ftp extension in PHP, the issue was resolved automatically.

probitaille commented 8 months ago

Same as @Khurramxhahzad, I got the same problem and it was resolved by enabling FTP extension in my php.ini.

Even if it seems obvious, this prerequisite should be documented.