Running a WebSocket server is at your fingertips with artisan:
php artisan websockets:serve
The package also comes with an excellent Debug Dashboard which can help you speed up development of WebSocket features in your applications:
Image credit: Official Debug Dashboard Documentation
The initial Laravel Websockets release is a collaborative effort by Marcel Pociot and Freek Van der Herten. Freek has a very detailed writeup Introducing laravel-websockets, an easy to use WebSocket server implemented in PHP that goes into great detail on the background of the package, how to use it, and many other aspects of the projects.
The documentation includes some benchmarks and the scale looks promising. Of course, your mileage will vary from project-to-project, including your specific application needs and usage patterns.
Filed in: Laravel Packages
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Full Stack Developer (Laravel/Vue.JS)
London, UK or Remote (UK only)
- Senior Web Developer
San Diego, CA
- Laravel Developer
San Jose, CA
- Lead Front End Developer
- Full-Stack Laravel Developer
- Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
- Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)