Download the PHP package pollsockets/pollsockets-laravel without Composer
On this page you can find all versions of the php package pollsockets/pollsockets-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pollsockets/pollsockets-laravel
More information about pollsockets/pollsockets-laravel
Files in pollsockets/pollsockets-laravel
Package pollsockets-laravel
Short Description Serverside implementation of pollsockets taylored for Laravel
License MIT
Homepage https://github.com/pollsockets/pollsockets-laravel
Informations about the package pollsockets-laravel
Serverside implementation of pollsockets tailored for Laravel
Why pollsockets?
Pollsockets is a simple, yet powerful, server-client communication library. It is designed to be used in situations where you need to send data from the server to the client. It is a great alternative to websockets, as it is much simpler to implement and use.
How does it work?
Pollsockets uses a simple polling mechanism to send events from the server to the client. Instead of polling an endpoint that returns data, pollsockets polls an endpoint that returns a list of events that have occurred, thus saving bandwidth and response time. The client then processes the events and updates the UI accordingly.
Ecosystem
Server side
Client side
Requirements
- PHP 8.1 or higher
- Laravel 9.0 or higher
- Redis 6.0 or higher
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Vytautas Smilingis
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of pollsockets-laravel with dependencies
spatie/laravel-package-tools Version ^1.13.0
illuminate/contracts Version ^9.0|^10.0