LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole. LaravelS uses Swoole's Synchronous IO mode, the larger the worker_num setting, the better the concurrency performance, but it will cause more memory usage and process switching overhead. If one request takes 100ms, in order to provide 1000QPS concurrency, at least 100 Worker processes need to be configured. Create WebSocket Handler class, and implement interface WebSocketHandlerInterface. The instant is automatically instantiated when start, you do not need to manually create it.

Features

  • Built-in Http/WebSocket server
  • Asynchronous event listening
  • Multi-port mixed protocol
  • Asynchronous task queue
  • Millisecond cron job
  • Automatically reload after modifying code
  • Support Laravel/Lumen both, good compatibility

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LaravelS

LaravelS Web Site

You Might Also Like
See Everything. Miss Nothing. 30-day free trial Icon
See Everything. Miss Nothing. 30-day free trial

Don’t let IT surprises catch you off guard. PRTG keeps an eye on your whole network, so you don’t have to.

As the IT backbone of your company, you can’t afford to miss a thing. PRTG monitors every device, application, and connection - on-premise and in the cloud. You get clear dashboards, smart alerts, and mobile access, so you’re always in control, wherever you are. No more guesswork or manual checks. PRTG’s powerful automation and easy setup mean you spend less time firefighting and more time moving your business forward. Discover how simple and reliable IT monitoring can be.
Try PRTG 30-day full access trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LaravelS!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTTP Servers, PHP HTTP Clients, PHP WebSocket Servers

Registered

2023-05-09