php-telegram-bot / laravel

Laravel package for PHP Telegram Bot Library
Other
171 stars 51 forks source link

I'm getting error when i install package on laravel 8 #35

Closed Mirmuxsin closed 3 years ago

Mirmuxsin commented 3 years ago

I'm using php 8 to work with laravel 8. And I'm getting this error while installing:

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

  Problem 1
    - longman/telegram-bot 0.53.0 requires php ^5.5|^7.0 -> your php version (8.0.7) does not satisfy that requirement.
    - php-telegram-bot/laravel 0.0.1 requires longman/telegram-bot ^0.53.0 -> satisfiable by longman/telegram-bot[0.53.0].
    - Root composer.json requires php-telegram-bot/laravel ^0.0.1 -> satisfiable by php-telegram-bot/laravel[0.0.1].

Installation failed, deleting ./composer.json.
noplanman commented 3 years ago

This is due to there not being a proper tag with the latest changes.

For now, you can use "php-telegram-bot/laravel": "dev-master" to get the latest version from the repo 👍