Closed Mubassir-developer closed 12 months ago
As stated in the error message "Cannot use codebar-ag/laravel-flysystem-cloudinary's latest version v3.1.0 as it requires php ^8.2 which is not satisfied by your platform."
It looks as if you are using a version of php lower than 8.2 which this package requires.
Ensure your composer.json
you have "php": "^8.2",
and the version of php-fpm you use is 8.2.
You can check this by running the command php -v
.
Then follow the install steps again.
Let me know if this solves your issue.
@Mubassir-developer
I was using php8.1. Issue resolve with php8.2
I have created a new project with the latest version and then tried to install the required packages in that new project. and codebar-ag/laravel-flysystem-cloudinary is throwing an error. Please let me know what I should do.
` $ composer require codebar-ag/laravel-flysystem-cloudinary Cannot use codebar-ag/laravel-flysystem-cloudinary's latest version v3.1.0 as it requires php ^8.2 which is not satisfied by your platform. ./composer.json has been updated Running composer update codebar-ag/laravel-flysystem-cloudinary Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1
You can also try re-running composer require with an explicit version constraint, e.g. "composer require codebar-ag/laravel-flysystem-cloudinary:*" to figure out if any version is installable, or "composer require codebar-ag/laravel-flysystem-cloudinary:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.`