Building a Laravel Octane Application
In the previous chapters, we focused on installing, configuring, and using some of the features provided by Laravel Octane. We looked at the difference between Swoole and RoadRunner, the two application servers supported by Laravel Octane.
In this chapter, we will focus on each feature of Laravel Octane to discover its potential and understand how it can be used individually.
The goal of this chapter is to analyze the functionality of Laravel Octane in a realistic context.
To do that, we will build a sample dashboard application covering several aspects, such as configuring the application, creating the database table schema, and generating initial data.
Then, we will go on to implement specific routes for dashboard delivery and implement the data retrieval logic in the controller and the query in the model.
Then we will create a page in the sample dashboard application, where we will collect information from multiple queries. When...