Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Browse all series

Laravel Octane

In this course, we'll explore Laravel Octane in detail, and learn how to leverage its capabilities to optimize the performance of your Laravel applications. So fasten your seatbelts and join me on this journey! Let's get going.

Progress

Series Info

Episodes
8
Run Time
1h 7m
Difficulty
Advanced
Last Updated
Jun 30, 2023
Version
Latest

Series Episodes

  1. Episodes (8)
    1. Scaling Web Applications

      As developers, we often find ourselves engaged in discussions about scalability and performance. In this course, we will also delve into the topic of scalability and performance. However, before we dive into the details, let's start by examining a poorly performing Laravel web application.
    2. How to Install Laravel Octane

      We will see how we can install Octane and run our site on it locally from within a docker container.
    3. A Look Behind The Scenes

      In this video, we will look into how Octane bootstraps our Laravel application once, and stores it in memory for all future requests.
    4. Handling Requests

      We will look into how requests are handled under Octane and the work Laravel does to clean the state between requests.
    5. Avoiding Memory and State Leaks

      Avoiding memory leaks prevents your application for eating all server memory. Let's look into that as well as discover how we can prevent state leaks as well.
    6. Laravel Octane Container Gotchas

      Octane manages container bindings in a special way. Let's explore some examples in this episode.
    7. Additional Octane Features

      Octane ships with many extra features to enhance your application's performance. Let's review some.
    8. Laravel Octane in Production

      To wrap up, let's work through the process of running Octane on production servers. We'll review the installation of the Swoole PHP extension, Octane installation via Composer, configuring Nginx to serve the application through Octane, and setting up a daemon with Supervisor.

Continue Learning