Our great sponsors
-
Otherwise, if I need something larger, then I would go towards OAuth and than in particular OAuth2 from the PHP league. It provides a good framework to work with to implement authentication in your project. Setting up is a bit of work, but when it works, you don't need to look at it again.
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Which implementation would you like? * http://socketo.me/ * https://amphp.org/websocket-client/ * https://www.swoole.co.uk/docs/modules/swoole-websocket-server
-
A rather common solution is to set up a dedicated service which will run real time connection with the client. Either node or something like elixir and shoot events into the 'blackbox' which later is responsible for pushing the data to the client. Good example is https://github.com/edgurgel/poxa.
-
I've found this ticket, which has been closed and doesn't have any activity in the discussion.
-
I have a question regarding PHP routing. There are plenty of implementations but one that comes to mind is FastRoute by Nikic. Its regex router and I was just curious whether its more performant to run this kind of implementation compared to just a cached associative array to map against for routes.
-
You might additionally appreciate this: https://github.com/pmjones/AutoRoute
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Benchmark against FastRoute here: https://github.com/pmjones/AutoRoute-benchmark