dimanche 21 juin 2020

not able to install beyondcode/laravel-websockets

I am using php laravel 5.4. Not able to installl this package I am getting an error mentioned below

I tried composer require beyondcode/laravel-websockets this command to install this package

 Using version ^1.4 for beyondcode/laravel-websockets
    ./composer.json has been created
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Your requirements could not be resolved to an installable set of packages.
    
  Problem 1
    - beyondcode/laravel-websockets 1.4.0 requires pusher/pusher-php-server ^3.0|^4.0 -> satisfiable by pusher/pusher-php-server[3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.1.0, v3.1.1, v3.2.0, v3.3.0, v3.3.1, v3.4.0, v3.4.1, v4.0.0, v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4].
    - beyondcode/laravel-websockets 1.4.1 requires pusher/pusher-php-server ^3.0|^4.0 -> satisfiable by pusher/pusher-php-server[3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.1.0, v3.1.1, v3.2.0, v3.3.0, v3.3.1, v3.4.0, v3.4.1, v4.0.0, v4.1.0, v4.1.1, v4.1.2, v4.1.3, v4.1.4].
    - pusher/pusher-php-server v4.1.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - pusher/pusher-php-server v4.1.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - pusher/pusher-php-server v4.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - pusher/pusher-php-server v3.4.0 requires php >=5.4 <7.3 -> your PHP version (7.3.19) does not satisfy that requirement.
    - pusher/pusher-php-server v3.3.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - pusher/pusher-php-server 3.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for beyondcode/laravel-websockets ^1.4 -> satisfiable by beyondcode/laravel-websockets[1.4.0, 1.4.1].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/7.3/cli/php.ini
    - /etc/php/7.3/cli/conf.d/10-mysqlnd.ini
    - /etc/php/7.3/cli/conf.d/10-opcache.ini
    - /etc/php/7.3/cli/conf.d/10-pdo.ini
    - /etc/php/7.3/cli/conf.d/15-xml.ini
    - /etc/php/7.3/cli/conf.d/20-calendar.ini
    - /etc/php/7.3/cli/conf.d/20-ctype.ini
    - /etc/php/7.3/cli/conf.d/20-dom.ini
    - /etc/php/7.3/cli/conf.d/20-exif.ini
    - /etc/php/7.3/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.3/cli/conf.d/20-ftp.ini
    - /etc/php/7.3/cli/conf.d/20-gettext.ini
    - /etc/php/7.3/cli/conf.d/20-iconv.ini
    - /etc/php/7.3/cli/conf.d/20-intl.ini
    - /etc/php/7.3/cli/conf.d/20-json.ini
    - /etc/php/7.3/cli/conf.d/20-mbstring.ini
    - /etc/php/7.3/cli/conf.d/20-mysqli.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

please help me



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire