Closed Odilbukh closed 2 years ago
I suggest you look into https://git.tii.tools/tii/laravel-telegram-bot Hopefully soon that will become the default and moved here.
try composer require php-telegram-bot/laravel:* it look for a version suitable with your composer situation
Closed due to new code base with v2.0
I have created new Laravel 8 project. Nothing changed. Laravel is fresh. And run command:
composer require php-telegram-bot/laravel
it returns error like this: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 php-telegram-bot/laravel:*" to figure out if any version is installable, or "composer require php-telegram-bot/laravel:^2.1" if you know which you need.