When requiring package, i got
Problem 1
- Root composer.json requires irazasyed/telegram-bot-sdk 2.0 -> satisfiable by irazasyed/telegram-bot-sdk[v2.0.0].
- irazasyed/telegram-bot-sdk v2.0.0 requires guzzlehttp/guzzle ~6.0 -> found guzzlehttp/guzzle[6.0.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
@realtebo
php artisan config:clear./bootstrap/cache/* if you'll got errorTELEGRAM_BOT_TOKEN in .envcomposer require irazasyed/telegram-bot-sdk ^3.4.1ps publish conf file with
php artisan vendor:publish --provider="Telegram\Bot\Laravel\TelegramServiceProvider"
I will try thanks. But It was a new project, there was nothing into cache folder at that moment.
I'll try
@L34T
thanks, it worked for me
Laravel 8.52.0
Problem
Problem 1
- Root composer.json requires irazasyed/telegram-bot-sdk ^3.4.1 -> satisfiable by irazasyed/telegram-bot-sdk[v3.4.1].
- irazasyed/telegram-bot-sdk v3.4.1 requires guzzlehttp/psr7 ^1.3 -> found guzzlehttp/psr7[1.3.0, ..., 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Solution
composer require guzzlehttp/psr7 1.*
composer require irazasyed/telegram-bot-sdk ^3.4.1
Most helpful comment
@realtebo
php artisan config:clear//del
./bootstrap/cache/*if you'll got errorTELEGRAM_BOT_TOKENin .envcomposer require irazasyed/telegram-bot-sdk ^3.4.1ps publish conf file with
php artisan vendor:publish --provider="Telegram\Bot\Laravel\TelegramServiceProvider"