Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.x] WebSocket Integration and Console Issue Fix #797

Closed
wants to merge 12 commits into from

Conversation

michaelnabil230
Copy link

@michaelnabil230 michaelnabil230 commented Dec 27, 2023

This PR introduces substantial enhancements by seamlessly integrating WebSocket functionality into the Swoole server and addressing a critical console issue. To enable Swoole with WebSocket, developers need to include the following configuration:

...

'swoole' => [
    'enable_web_socket' => true,
],

This simple addition unlocks the power of WebSocket communication within the Swoole server, offering developers a straightforward way to incorporate real-time features into their Laravel Octane applications.

By enabling WebSocket support, this PR significantly advances the capabilities of Laravel Octane, transforming it into a more robust and versatile framework for modern web applications. Developers can now effortlessly harness the potential of real-time communication while ensuring a seamless command-line interface experience. This enhancement caters to the growing demand for real-time features and elevates the overall productivity and performance of Laravel Octane applications.

TODOS:

  • Add tests (I need approval to add the tests to this feature)

@michaelnabil230 michaelnabil230 changed the title WebSocket Integration and Console Issue Fix [2.x] WebSocket Integration and Console Issue Fix Dec 27, 2023
@taylorotwell
Copy link
Member

We're working on some other socket stuff atm. Going to delay this PR for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants