Laravel Echo, Socket.io and Redis Setup
Laravel introduced the Broadcasting event if your working on web applications that require real-time responses through WebSocket. You can send messages to a server and receive event-driven responses.
Laravel introduced the Broadcasting event if your working on web applications that require real-time responses through WebSocket. You can send messages to a server and receive event-driven responses.
Notification is a way to notify the application users for a particular activity, event etc. It already exists on the User Model. The User Model comes with already implemented notification functionality. The user model used the Notifiable trait.
Laravel queues help to defer the processing of heavy/time-consuming tasks. The benefits of the queue are to not interrupt website visitor with slow performances. Laravel provides a variety of queue backends like Beanstalk, Amazon SQS, Redis, Database and synchronous driver.
Larvel provides several ways of sending the email. That could be through mailable, custom email template, or through raw HTML. Laravel has used the popular SwiftMailer library in the backend. Laravel also provides built-in drivers for SMTP, Mailgun, SparkPost, Postmark, Amazon SES, and sendemail.
Laravel Mail – Sending Mailable, Markdown Mailable, and Raw HTMLRead More
In the case of user Authentication, Laravel has built-in Authentication system. We can easily modify it according to requirements. One of the features included in Authentication is Throttling.
If you are developing a small application that only dependent on MySQL, Apache or Nginx then MAMP is fine to get started. But what if our application dependents on Redis, Mailhog, Supervisor, Beanstalk, etc? In that case, we have 2 options Vagrant and Docker. I personally prefer Docker and of cause, this article is about setting up the Laravel with Docker.