Laravel & Realtime: Build Several Realtime Apps with Laravel

Laravel & Realtime: Build Several Realtime Apps with Laravel

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5 Hours | 2.23 GB

Build realtime notifications, games, chat rooms, and more realtime applications with Laravel and Websockets. Learn to build realtime applications with Laravel, using multiple examples along the course. Everyone talks about realtime applications, but it is not always clear how to achieve it and the advantages that this gives to any project. During this course, I will show you, using multiple approaches with different applications, how to build realtime applications for any of your projects. Are you looking to interact in realtime and instantly with the users of your projects? We all should and, in this course, I will show you how to do it in multiple ways on a Laravel project. Additionally, you will be able to use and deploy your own WebSockets server using Laravel WebSockets. Build multiple realtime applications with Laravel Initially, realtime applications have a simple way to work. However, there are multiple ways to use realtime data and events depending on the different applications and results you require. In this course, I will show you different approaches to apply and learn to build your own realtime applications with Laravel. You will learn by creating realtime notifications, a realtime API, a realtime game, a chat, and more. Use and deploy your own Laravel WebSockets Server During the course, you will be able to use Laravel WebSockets as an alternative to Pusher to use your own WebSocketsServer. Laravel WebSockets is a Laravel package using Ratchet PHP, that allows you to create a complete WebSockets server from a Laravel project easily. What’s good about Laravel? Laravel is the most popular framework for PHP. With Laravel, you can develop high complexity PHP applications in a very short time, which includes, thanks to tools like Laravel Echo, realtime applications. During the course, you will see the enormous facilities that Laravel offers when implementing complex tasks and broadcast events and messages in realtime. Of course, you can use the most recent version of Laravel (Laravel). Why realtime applications? Persistent connections with WebSockets allow you to keep a constant flow of data, transmit it and react to events instantly. With this, you can immediately interact with your users and maintain a consistent and high-level user experience, as well as keep your information and data constantly updated. At the end of the course, after exploring multiple ways to implement and use applications in realtime with Laravel you will be able to apply it with total confidence in your own projects. So join now to apply realtime connections in multiple ways:
  • Build a realtime notification system with Laravel
  • Build a realtime API with Laravel
  • Create a game that works in realtime for multiple connected users.
  • Build a chat room with realtime messages
  • Build a system of private interactions between users in realtime
  • Use public channels to broadcast events and messages in realtime with Laravel
  • Use private channels to control the transmission of messages in realtime
  • Use presence channels to send messages and determine users connected to a channel in realtime
  • Authenticate and validate secure access to private realtime channels with Laravel
  • Create and use your own WebSockets Server with Laravel
  • Deploy your own Laravel WebSockets server
What you’ll learn
  • Build a realtime notifications application
  • Build a realtime API with Laravel
  • Create a game that works in realtime
  • Create a chat room that works in realtime
  • Transmit private messages and events in realtime
  • Broadcast events and public messages in realtime
  • Master the essences of realtime applications
+ Table of Contents

1 About the instructor and what you will learn
2 About the course and what you will achieve
3 Understanding messages broadcasting on realtime
4 How to Ask Questions
5 The development environment to use

Starting with the Laravel Structure to Create Realtime Applications with Laravel
6 Obtaining and Preparing the Laravel Structure Using Composer
7 The source code of the course
8 Adding Laravel UI and Generating Some Useful Components
9 Compiling Some Required Components Using NPM
10 Exploring the Way as Laravel Mix Works in Laravel

Configuring Laravel to Handle Events and Messages on Realtime
11 Getting Ready to Use Pusher as the Realtime Service on Laravel
12 Installing and Preparing Laravel Echo to Broadcast Messages

Creating Your First Realtime Notifications System with Laravel
13 Adding a Generic Component to Show Notifications in Laravel
14 Creating an Event to Notify Users’ Session Changes
15 Using Laravel Listeners to Broadcast Changes on Users’ Session
16 Showing the Notification on Realtime Using Laravel Echo
17 Broadcasting the Event Only to Authenticated Users

Creating a Realtime API with Laravel
18 Implementing the Actions Over a Resource to Broadcast
19 Showing the List of User to Manipulate It on Realtime
20 Creating the Events to Indicate Changes on Users
21 Broadcasting the Events Over Users on Realtime
22 Showing the Changes on the Users’ List on Realtime

Creating a Realtime Game with Laravel Echo
23 Adding the Visual Components of the Realtime Game
24 Creating the Events of the Game to Broadcast
25 Creating a Command to Broadcast Game Events on Realtime
26 Showing Events to Players in Realtime with Laravel Echo

Creating a Chat Room Using Realtime Messages with Laravel Echo
27 Creating Visual Components to Send Messages in Realtime
28 Managing the List of Connected Users in Realtime
29 Creating an Event on Sending Messages in the Chat
30 Broadcasting the Event Created When Sending a Message
31 Showing the Broadcasted Messages to All Users

Allowing to Send Private Events in Realtime with Laravel Echo
32 Adding Components to Allow Events Between Users
33 Creating and Broadcasting an Event Using a Private Channel
34 Showing the Private Events Only to the Receiver and Sender

Adding, Configuring and Using Your Own WebSockets Server
35 Creating a New Laravel Project for The WebSockets Server
36 Adding Laravel WebSockets to The Project
37 Configuring an Application in the Laravel WebSockets Server
38 Using Your Own WebSockets Server from your Laravel Project
39 Checking the Laravel WebSockets Statistics

Deploying Laravel WebSockets on a Server
40 Cloning and Deploying the Laravel WebSockets Project
41 Using Supervisor to Execute the WebSockets Server
42 Configuring a Reversed Proxy for the WebSockets Server
43 Using the New Server in the Laravel Realtime Application

Securing the Connections to the Laravel WebSockets Server
44 Accepting HTTP Connections for the Laravel WebSockets Project
45 Generating SSL Certificates for the Laravel WebSockets Server
46 Establishing Secure Connections to the Laravel WebSockets Server

Conclusions and Recommendations
47 The Essence of the Realtime Application with Laravel
48 Bonus Class
49 Pending Topics