php-telegram-bot / laravel

Laravel package for PHP Telegram Bot Library
Other
168 stars 50 forks source link

Error on instalation #45

Closed Odilbukh closed 1 year ago

Odilbukh commented 2 years ago

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.

noplanman commented 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.

LucaColombi commented 2 years ago

try composer require php-telegram-bot/laravel:* it look for a version suitable with your composer situation

TiiFuchs commented 1 year ago

Closed due to new code base with v2.0