Comments (12)
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.
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.
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.
I'm going to release a new version for PHP 8
from codeigniter4-websocket.
Please mention Codeigniter Version and Package version.
from codeigniter4-websocket.
Codeigniter version 4.1.1 . With "Package version" what you mean?
from codeigniter4-websocket.
I have checked CI v 4.1.5 it works fine. Can you please explain the scenario?
from codeigniter4-websocket.
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.
Please install fresh CI 4 and use composer require takielias/codeigniter4-websocket @dev
from codeigniter4-websocket.
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.
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.
I'm going to release a new version for PHP 8
we waiting for it. nice to hear.
from codeigniter4-websocket.
Related Issues (12)
- Event callback is not called HOT 1
- Composer error when trying to install
- How do I connect to websocket on another controller and send the message to the client? HOT 1
- Error $jwt_key
- Not able to start the server HOT 3
- Execute the server using cPanel Apache HOT 1
- ssociate it to a controller HOT 4
- Call to undefined method Takielias\CodeigniterWebsocket\Libraries\CodeigniterWebsocket::set_callback() at APPPATH\Controllers\Websocket.php:29 HOT 1
- all client send message from server HOT 1
- how to send message to user if use php? HOT 2
- Could not open input file: spark
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter4-websocket.