Send Email With Laravel

Send Email with Laravel

In this episode we’re going to take a look at sending email from a Laravel Application. There are a few ways to send email, but we’ll focus on using SMTP or Simple Mail Transfer Protocol using the SendGrid Service. SMTP is an open standard defined in RFC 821 which dates all the way back to 1982! It is the most common way to send email on the Internet and makes use of TCP ports 25 and 587.…

Flash Messages in Laravel

laravel flash message

We all know what Flash Messages are. Almost every single modern website uses them in one form or another. A flash message is used to communicate back to the user of the website or application that an event has taken place. Often times you’ll see a redirect with flash message. This may be something the user intended to do, or it might be something that is just informational.…

What are Laravel Filters?

what are laravel filters

Filters are really a fantastic resource to use in Laravel. In fact, almost all applications will use them in one way or another. Filters give you the ability to tap into the routing lifecycle within Laravel and take actions based on various conditions both before and after the route request and response. We also saw in the last episode on Larvael Cache techniques, that we can combine the use of filters and caching together.…

Laravel Cache Tutorial

laravel cache tutorial

Let’s take a moment to talk about cache. Now when we say cache, we’re not talking about dollar bills, although that’s what it sounds like! Caching is the act of transparently storing data for future use in an attempt to make applications run faster. There are all kinds of ways to cache data, and Laravel makes it easy to do so with just a small number of method calls.…

Laravel Event Listeners

Laravel Event Listeners

When using Laravel, there is a great way to listen for events and then take actions based on those events by using the Event Facade. This is also known as an Observable Implementation. By using the Event Facade, we can listen for or subscribe to events that may occur, and then immediately take action. It’s a great way to keep your code clean, as well as having a dedicated class to handle events.…