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

@@ -20,6 +20,7 @@
"vite": "^4.5.1"
},
"dependencies": {
"chokidar": "^3.5.3",
"flowbite": "^2.0.0",
"npm-run-all": "^4.1.5",
"tailwind-capitalize-first-letter": "^1.0.4"