Automated lone worker systems are imperative for companies that have employees tasked with working in high-risk environments by themselves. In fact, the employer holds a duty of care to ensure that these employees are safe while they work.
Lone worker systems can take many forms. Such forms include apps downloaded on the lone worker’s phone or physical devices to be worn by the lone worker at all times.
In this tutorial, we’re going to look at how we can combine Symfony and it’s Messenger and Workflow Components, along with Twilo’s Programmable Voice and SMS APIs to implement an automated lone worker check-in system.
Throughout the tutorial we’ll cover:
Overtime, APIs and web apps that were once performant can become sluggish and unresponsive. This is often due to the natural progression of a codebase which has evolved to perform more work with an increasing amount of data. This slow down is mostly felt in areas that involve communicating with third-party APIs, report generating, or crunching a lot of data.
Ultimately, this extra time affects how long users have to wait to get a response to their actions.
There are a variety of ways one could reduce these performance issues. For this tutorial we're going to be focusing on processing heavy workloads in the background so that we can respond to users quicker. Specifically, we will learn how to queue background, resource-intensive tasks using Symfony and Symfony's Messenger Component whilst keeping users notified of the work status via Twilio SMS.
In order to complete this tutorial you will …