10 lines
1004 B
PHP
Executable File
10 lines
1004 B
PHP
Executable File
# Laravel Octane
|
|
|
|
This application uses Laravel Octane, a long-running PHP server. The application bootstraps once and handles many requests within the same process.
|
|
|
|
- Never store request-specific state in singletons or static properties, because it can leak across requests.
|
|
- Use ___SINGLE_BACKTICK___config('octane.server')___SINGLE_BACKTICK___ to detect the active driver (___SINGLE_BACKTICK___swoole___SINGLE_BACKTICK___, ___SINGLE_BACKTICK___roadrunner___SINGLE_BACKTICK___, or ___SINGLE_BACKTICK___frankenphp___SINGLE_BACKTICK___).
|
|
- Prefer scoped bindings (___SINGLE_BACKTICK___$this->app->scoped()___SINGLE_BACKTICK___) over singletons for per-request services.
|
|
|
|
When working on Octane-specific features (concurrency, shared tables, memory, driver configuration, testing), invoke ___SINGLE_BACKTICK___octane-development___SINGLE_BACKTICK___ for detailed rules.
|
|
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/storage/framework/views/e55f8fc118663131a1d9c997ae16233b.blade.php ENDPATH**/ ?>
|