laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.74k stars 291 forks source link

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

Closed michaelnabil230 closed 8 months ago

michaelnabil230 commented 8 months ago

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:

taylorotwell commented 8 months ago

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