Member-only story
A Blueprint for Session Based Applications in Laravel
Session-Based Applications
Most creator economy, virtual collaboration, and remote work applications, such as live online classes, shared whiteboards, and fans live stream meetings, operate through sessions.
A session, such as a video conference, is started. Multiple participants join the session through a link. Users the presence of other users. Messages, data, and files are exchanged between participants. And video tracks are shared.
These session-based applications have become so common, that after constructing several with the Laravel PHP framework, we designed a blueprint for their construction.
Not Your Standard Sessions
It should be emphasized that these application sessions have nothing to do with the standard Laravel session. The sessions are an application-level construction that includes multiple users.
In contrast, the standard Laravel session is created when a user logs in. Each user will still have his/her own standard session.
Here are the elements of the blueprint.
Temporary Signed Links
Participants join sessions through a link. These links should include the participant’s identity and…