Giter Site home page Giter Site logo

Comments (12)

aldiku avatar aldiku commented on May 30, 2024 3

I have successfully installed this websocket library on Codeigniter 4.1.9 and PHP 8.1 using :
composer require takielias/codeigniter4-websocket @dev --ignore-platform-req=php

from codeigniter4-websocket.

AlexNeises avatar AlexNeises commented on May 30, 2024 1

The issue is if you're using PHP 8, despite the repo saying it works for PHP 7+, it can't be installed with PHP 8.

Here's the error I'm receiving:

[InvalidArgumentException]
Package takielias/codeigniter4-websocket at version @dev has requirements incompatible with your PHP version, PHP extensions and Composer version:
  - takielias/codeigniter4-websocket dev-master requires php ^7.2 which does not match your installed version 8.0.15.

from codeigniter4-websocket.

takielias avatar takielias commented on May 30, 2024 1

The issue is if you're using PHP 8, despite the repo saying it works for PHP 7+, it can't be installed with PHP 8.

Here's the error I'm receiving:

[InvalidArgumentException]
Package takielias/codeigniter4-websocket at version @dev has requirements incompatible with your PHP version, PHP extensions and Composer version:
  - takielias/codeigniter4-websocket dev-master requires php ^7.2 which does not match your installed version 8.0.15.

Got it. Thanks for the issue. I need time to fix it for PHP 8.0. Any PR would be appreciated.

from codeigniter4-websocket.

takielias avatar takielias commented on May 30, 2024 1

I'm going to release a new version for PHP 8

from codeigniter4-websocket.

takielias avatar takielias commented on May 30, 2024

Please mention Codeigniter Version and Package version.

from codeigniter4-websocket.

eyeway1968 avatar eyeway1968 commented on May 30, 2024

Codeigniter version 4.1.1 . With "Package version" what you mean?

from codeigniter4-websocket.

takielias avatar takielias commented on May 30, 2024

I have checked CI v 4.1.5 it works fine. Can you please explain the scenario?

from codeigniter4-websocket.

eyeway1968 avatar eyeway1968 commented on May 30, 2024

I clone your repo to a new folder on my PC, I navigate to this folder and run " composer require takielias/codeigniter4-websocket @dev" And I get the above error message.

from codeigniter4-websocket.

takielias avatar takielias commented on May 30, 2024

Please install fresh CI 4 and use composer require takielias/codeigniter4-websocket @dev

from codeigniter4-websocket.

alfonsotesone avatar alfonsotesone commented on May 30, 2024

The issue is if you're using PHP 8, despite the repo saying it works for PHP 7+, it can't be installed with PHP 8.

Here's the error I'm receiving:

[InvalidArgumentException]
Package takielias/codeigniter4-websocket at version @dev has requirements incompatible with your PHP version, PHP extensions and Composer version:
  - takielias/codeigniter4-websocket dev-master requires php ^7.2 which does not match your installed version 8.0.15.

Same problem here!

from codeigniter4-websocket.

mdestafadilah avatar mdestafadilah commented on May 30, 2024

I have successfully installed this websocket library on Codeigniter 4.1.9 and PHP 8.1 using : composer require takielias/codeigniter4-websocket @dev --ignore-platform-req=php

it's work, but when running composer update we must remove line this before running update.

from codeigniter4-websocket.

mdestafadilah avatar mdestafadilah commented on May 30, 2024

I'm going to release a new version for PHP 8

we waiting for it. nice to hear.

from codeigniter4-websocket.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.