Is there an alternative to SignalR ASP.NET in php (specifically Laravel)

I am working on api based on laravel 5.3 version .

It will be similar to the Telegram api , which can respond to various clients written using Android, iOS or the web version (angularjs).

One thing that is an integral part of this kind of api is real-time operation.

According to the survey I did, there is a signalR library for ASP.NET , which makes real-time development of web functions easy for ASP.NET developers.

SignalR supports web sockets and reverts to other compatible methods for older browsers, such as:

Now I wanted to know that for php and, in particular, Laravel, is there a tool that is also easy to write apis in real time?

+5
source share
1 answer

Laravel offers broadcasting as a function of sending server events to clients. As for clients, there is a javascript package that can be implemented

You can read it in Laravel Docs

Laravel Echo is a JavaScript library that allows you to seamlessly subscribe to channels and listen to events broadcast by Laravel. You can install Echo through the NPM package manager.

+5
source

Source: https://habr.com/ru/post/1264884/


All Articles