In this article, we are going to explore the basics of event management in Laravel. It’s one of the important features that you, as a developer, should have in your arsenal in your desired framework. As we move on, we’ll also grab this opportunity to create a real-world example of a custom event and listener, and that’s the ultimate goal of this article as well.
If you work with WordPress sites, you probably know that they’re built in the PHP programming language. But do you know how PHP really works, beyond copying and pasting code snippets?
In this article, we’re going to explore one of the most important and least discussed features of the Laravel web framework—exception handling. Laravel comes with a built-in exception handler that allows you to report and render exceptions easily and in a friendly manner.
If you are a PHP programmer working with the Laravel framework, I am sure that you deploy your web application on cloud servers on providers like Linode, Digital Ocean, Vultr and the rest. That’s because with a framework like Laravel, which works tightly with tools like Git and Composer, it is less and less likely that your application can be served from a shared hosting environment.
In this article, we’re going to explore the Mail API in the Laravel web framework. Laravel takes advantage of the popular SwiftMailer library, which is easy to use and comes with a variety of email drivers to choose from. In the latter stages of the article, we’ll go through an in-depth demonstration of the concepts discussed in the first half of the article.
Whether you’re using Instagram for business or pleasure, it’s a great way to make new friends, customers, or fans. Doing the work of getting your account before as many eyes as possible, however, can be time-consuming, and since we all have the same limit to the hours of the day, any tool that saves us time and helps us to use Instagram more efficiently and effectively is bound to be invaluable.
In this article, we’re going to explore the Queue API in the Laravel web framework. It allows you to defer resource-intensive tasks during script execution to enhance the overall end user experience. After introducing the basic terminology, I’ll demonstrate it by implementing a real-world example.
In this article, we’ll go through one of the exciting features of the Laravel web framework—task scheduling. Throughout the course of this article, we’ll look at how Laravel allows you to manage scheduled tasks in your application. Moreover, we’ll also end up creating our own custom scheduled tasks for demonstration purposes.
Do you have ten minutes to spare? Do you want to understand how to use WordPress hooks? If so, our new Coffee Break Course, WordPress Coding Basics: Adding Hooks to Your Themes, is ideal for you.
Today, we’re going to discuss the authorization system of the Laravel web framework. The Laravel framework implements authorization in the form of gates and policies. After an introduction to gates and policies, I’ll demonstrate the concepts by implementing a custom example.