Jun 18, 2024
0
Level 1
Compatibility issue with dacastro4/laravel-gmail after upgrading Laravel to version 10 and PHP to 8.2
I recently upgraded my Laravel application from version 5 to 10 and PHP from 7 to 8.2. After the upgrade, I'm encountering an issue with the dacastro4/laravel-gmail package:
Problem 1
- dacastro4/laravel-gmail[v0.1, ..., v0.6.2, v1.0.0, ..., v1.2, v2.0, ..., v2.0.4, v3.0.0] require illuminate/auth ~5.0|~5.1|~5.2|~5.3 -> found illuminate/auth[v5.0.0, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- dacastro4/laravel-gmail[v3.1.0, ..., v3.2.6, v4.0, ..., v4.0.41, v5.0.0, ..., v5.1] require php ^7.2 -> your php version (8.3.8) does not satisfy that requirement.
- dacastro4/laravel-gmail[v5.1.1, ..., v5.1.21] require illuminate/auth ~5.8|^6.0|^7.0|^8.0 -> found illuminate/auth[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- dacastro4/laravel-gmail[v6.0, ..., v6.1] require illuminate/auth ~5.8|^6.0|^7.0|^8.0|^9.0 -> found illuminate/auth[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires dacastro4/laravel-gmail * -> satisfiable by dacastro4/laravel-gmail[v0.1, ..., v0.6.2, v1.0.0, ..., v1.2, v2.0, ..., v2.0.4, v3.0.0, ..., v3.2.6, v4.0, ..., v4.0.41, v5.0.0, ..., v5.1.21, v6.0, v6.1].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require dacastro4/laravel-gmail:*" to figure out if any version is installable, or "composer require dacastro4/laravel-gmail:^2.1" if you know which you need.
It seems that the package requires illuminate/auth versions that are not compatible with Laravel 10. Is there a way to resolve this issue or are there alternative packages for Gmail integration in Laravel 10 and PHP 8.2?
Here's my composer.json dependencies related to this package:
{
"require": {
"php": "^8.2",
"laravel/framework": "^10.0"
}
}
Any help or guidance on resolving this would be greatly appreciated. Thank you!
Please or to participate in this conversation.