storage_path

The storage_path function returns the fully qualified path to your application's storage directory. You may also use the storage_path function to generate a fully qualified path to a given file within the storage directory:
$path storage_path();

$path storage_path('app/file.txt');
            'taskWorkers' => $this->taskWorkerCount($extension),

            
'maxRequests' => $this->option('max-requests'),

            
'publicPath' => public_path(),

            
'storagePath' => storage_path(),

            
'defaultServerOptions' => $this->defaultServerOptions($extension),

            
'octaneConfig' => config('octane'),

        ]);
        return [

            
'enable_coroutine' => false,

            
'daemonize' => false,

            
'log_file' => storage_path('logs/swoole_http.log'),

            
'log_level' => app()->environment('local') ? SWOOLE_LOG_INFO SWOOLE_LOG_ERROR,

            
'max_request' => $this->option('max-requests'),

            
'package_max_length' => 10 1024 1024,
        $this->app->bind(RoadRunnerServerStateFile::class, function ($app) {

            return new 
RoadRunnerServerStateFile($app['config']->get(

                
'octane.state_file',

                
storage_path('logs/octane-server-state.json')

            ));

        });
        $this->app->bind(SwooleServerStateFile::class, function ($app) {

            return new 
SwooleServerStateFile($app['config']->get(

                
'octane.state_file',

                
storage_path('logs/octane-server-state.json')

            ));

        });