Einenlum / linguee-api

Linguee crawler written in PHP
MIT License
1 stars 0 forks source link

Package einenlum/linguee-api has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version #1

Closed kurt-krueckeberg closed 2 years ago

kurt-krueckeberg commented 2 years ago

Thanks for you Linguee-API PHP library. When I installed it using composer

composer require einelum/linguee-api

I got

Package einenlum/linguee-api has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version  

Which PHP extensions are needed to use your Linguee API PHP library?

Einenlum commented 2 years ago

Hi @kurt-krueckeberg,

Thanks for your issue. What is your PHP version? This package is old and not PHP 8 compatible for now but I will try to upgrade it soon.

kurt-krueckeberg commented 2 years ago

Thanks for the prompt reply. I am using PHP 8.0.8. I may simply use Goutte instead and scrape Linguee..

regards, Kurt

On Wed, Jan 12, 2022 at 5:37 AM Yann Rabiller @.***> wrote:

Hi @kurt-krueckeberg https://github.com/kurt-krueckeberg,

Thanks for your issue. What is your PHP version? This package is old and not PHP 8 compatible for now but I will try to upgrade it soon.

— Reply to this email directly, view it on GitHub https://github.com/Einenlum/linguee-api/issues/1#issuecomment-1010899107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA73SSUASD3GETTWFPKGJLUVVKW5ANCNFSM5LXBD6WQ . You are receiving this because you were mentioned.Message ID: @.***>

Einenlum commented 2 years ago

I updated the library to version 0.1.0. It should now support PHP 7.4 up to 8.1. Can you check if everything works for you?

kurt-krueckeberg commented 2 years ago

Yes, it seems to be working. I was able to use composer to install it, and the example code in the README ran successfully. Thanks a lot!