retailcrm / api-client-php

PHP client for RetailCRM API
http://www.retailcrm.ru
MIT License
60 stars 58 forks source link

Installation issue #109

Closed Lehersun closed 3 years ago

Lehersun commented 3 years ago

Hello. I've tried to install api-client-php via "composer require retailcrm/api-client-php:"~6.0"" and got the error:
Problem 1

Neur0toxine commented 3 years ago

Hello!

The API client is dependent on the liip/serializer library. Although the API client itself supports PHP 8, the liip/serializer does not support it. That's why you're getting an error while trying to install the client.

We're working on this issue. For now you can use PHP 7.3 or 7.4. PHP 7.2 is not supported because it hit EOL in the previous year.

warendmir commented 3 years ago

Hi, i have same problem too! Just try to use --ignore-platform-reqs at the end of composer require... line And wait for php8 update)