Laravel Octane keeps your application loaded in memory between requests, dramatically reducing the overhead of bootstrapping your Laravel application on each request. This results in significantly faster response times and improved throughput.
To install Laravel Octane, you will be prompted to include the Laravel Octane service during Spin installation. Simply select it when prompted.
When you install Laravel Octane, Spin automatically:
php artisan octane:start --server=frankenphp --port=8080
With Laravel Octane and FrankenPHP, your application gains:
Once you run spin up in your development environment, your Laravel application will be served by Octane with FrankenPHP. You can access your application at the standard URL: http://laravel.dev.test
When using Laravel Octane, keep these points in mind:
Laravel Horizon
Laravel Horizon is a beautiful dashboard and configuration system for your Laravel queues. It provides dashboard and code-driven configuration for your Laravel powered Redis queues.
Laravel Pint
Laravel Pint is a tool that helps you to keep your codebase clean and consistent. It provides a set of rules that you can use to enforce your code style.