Laravel Octane
Laravel Octane is a project based on Swoole/RoadRunner
driver that can improve the performance of Laravel
framework, after installation it can significantly improve the performance of Laravel
projects.
Dcat Admin
is compatible with the Laravel Octane
environment, just add the following configuration to the configuration file config/octane.php
.
'listeners' => [
... ,
RequestReceived::class => [
... .Octane::prepareApplicationForNextOperation(),
... .Octane::prepareApplicationForNextRequest(),
// Enable support for Dcat Admin
Dcat\Admin\Octane\Listeners\FlushAdminState::class,
class],
...
],
Laravel Octane is still in
beta
phase, for installation and more information about Laravel Octane Please go to the documentation at https://github.com/laravel/octane for more information.