irazasyed / telegram-bot-sdk

🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
https://telegram-bot-sdk.com
BSD 3-Clause "New" or "Revised" License
3.03k stars 670 forks source link

Laravel 7 #717

Closed patrick7 closed 4 years ago

patrick7 commented 4 years ago

It seems that telegram-bot-sdk is not compatible with Laravel 7 :-(

Xibel commented 4 years ago

The 2.0 is compatible. But if you use ^3.0 then it is not. Change your composer.json file entry to “dev-develop” and it should work.

Xibel commented 4 years ago

Check https://github.com/irazasyed/telegram-bot-sdk/pull/718 It has been fixed for dev-master or "^3.0".

Issue can be closed.

mbpcoder commented 4 years ago

It isn't compatible with Laravel 7.3

AlimovRoostam commented 4 years ago
    - Installation request for irazasyed/telegram-bot-sdk 2.0 -> satisfiable by irazasyed/telegram-bot-sdk[v2.0.0].
    - Conclusion: remove laravel/framework v7.0.8
    - Conclusion: don't install laravel/framework v7.0.8
- don't install illuminate/support 5.0.x-dev|don't install laravel/framework v7.0.8
    - don't install illuminate/support 5.1.x-dev|don't install laravel/framework v7.0.8
    - don't install illuminate/support 5.2.x-dev|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.0|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.22|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.25|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.26|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.28|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.33|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.0.4|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.1|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.13|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.16|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.2|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.20|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.22|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.25|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.28|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.30|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.31|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.41|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.6|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.1.8|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.0|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.19|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.21|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.24|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.25|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.26|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.27|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.28|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.31|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.32|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.37|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.43|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.45|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.6|don't install laravel/framework v7.0.8
    - don't install illuminate/support v5.2.7|don't install laravel/framework v7.0.8
    - Installation request for laravel/framework (locked at v7.0.8, required as ^7.0) -> satisfiable by laravel/framework[v7.0.8].

Installation failed, reverting ./composer.json to its original content.
AlimovRoostam commented 4 years ago

OMG!

composer require irazasyed/telegram-bot-sdk ^2.0 - error

composer require irazasyed/telegram-bot-sdk "^2.0" -not error

Xibel commented 4 years ago

It isn't compatible with Laravel 7.3

Why not? Can you be more specific? I am running Laravel 7.3.0 with "irazasyed/telegram-bot-sdk": "^3.0" and it works.

ghost commented 4 years ago

It isn't compatible with Laravel 7.3

Why not? Can you be more specific? I am running Laravel 7.3.0 with "irazasyed/telegram-bot-sdk": "^3.0" and it works.

can i use ver 3 like ver 2 in docs ? Telegram::getme() still work ?

Xibel commented 4 years ago

Version 3 is not documented. I use it but you need to find things out yourself like reading the code to understand the way thing work. Much of the information is in these issues resolved and you could join the Telegram group and ask questions. See https://t.me/PHPChatCo

irazasyed commented 4 years ago

v3.1 is released with Laravel 7 and all other latest changes till date.

Please create a new issue ticket if you face any issues. Thanks!