feat(octane): add Octane server configuration and listeners

This commit adds the necessary changes to the `composer.json` file to include the `laravel/octane` package as a dependency. It also introduces a new `config/octane.php` file that contains the configuration for Octane's server, HTTPS settings, event listeners, warm/flush bindings, Swoole tables, cache table, file watching, garbage collection threshold, and maximum execution time.

The added dependencies in `package.json` include `chokidar`, which is used for file watching functionality.

These changes enable the use of Laravel Octane for improved performance and efficiency in handling requests.
This commit is contained in:
Rico van Zelst
2024-01-13 19:24:23 +01:00
parent fb1923d00a
commit 83e94327d3
5 changed files with 487 additions and 16 deletions

View File

@@ -18,6 +18,7 @@
"guzzlehttp/guzzle": "^7.2",
"intervention/image": "^3.0",
"laravel/framework": "^10.10",
"laravel/octane": "^2.2",
"laravel/pulse": "^1.0@beta",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",