php-telegram-bot / telegram-bot-manager

PHP Telegram Bot Manager
MIT License
209 stars 66 forks source link

Composer error when installing the package #74

Closed Odilbukh closed 2 years ago

Odilbukh commented 2 years ago

Bug Report

When I run composer require php-telegram-bot/telegram-bot-manager:^1.6 -W it returns this message:

Your requirements could not be resolved to an installable set of packages.

Problem 1

I'm using Laravel 8 and PHP 8.0

noplanman commented 2 years ago

Hi @Odilbukh

To use the latest version of the core library with this manager, you need to manually define the version like this:

"require": {
    "php-telegram-bot/telegram-bot-manager": "^1.7",
    "longman/telegram-bot": "0.77.1 as 0.73"
}

Or to use the most recent version:

"require": {
    "php-telegram-bot/telegram-bot-manager": "^1.7",
    "longman/telegram-bot": "dev-master as 0.73"
}
noplanman commented 2 years ago

I've just released version 2.0.0, which defaults to the currently latest core version 0.78.0.

Odilbukh commented 2 years ago

Thanks!