Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions frameworks/PHP/laravel/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "PHP8.1",
"flavor": "PHP8",
"orm": "Full",
"platform": "FPM/FastCGI",
"webserver": "nginx",
Expand All @@ -37,13 +37,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "None",
"flavor": "PHP8",
"orm": "Full",
"platform": "swoole",
"webserver": "none",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-swoole",
"display_name": "laravel [octane,swoole]",
"notes": "",
"versus": "swoole"
},
Expand All @@ -60,13 +60,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "None",
"flavor": "PHP8",
"orm": "Full",
"platform": "swoole",
"webserver": "none",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-laravel-s",
"display_name": "laravel [laravel-s]",
"notes": "",
"versus": "swoole"
},
Expand All @@ -83,13 +83,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "None",
"flavor": "PHP8",
"orm": "Full",
"platform": "roadrunner",
"webserver": "none",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-roadrunner",
"display_name": "laravel [roadrunner]",
"notes": "",
"versus": "swoole"
},
Expand All @@ -106,13 +106,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "PHP8.1",
"flavor": "PHP8",
"orm": "Full",
"platform": "workerman",
"webserver": "None",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-workerman",
"display_name": "laravel [workerman]",
"notes": "",
"versus": "php"
},
Expand All @@ -129,13 +129,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "None",
"flavor": "PHP8",
"orm": "Full",
"platform": "Frankenphp",
"webserver": "caddy",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-octane [frankenphp]",
"display_name": "laravel [octane,frankenphp]",
"notes": "",
"versus": "php"
},
Expand All @@ -152,13 +152,13 @@
"database": "MySQL",
"framework": "laravel",
"language": "PHP",
"flavor": "PHP8.3",
"flavor": "PHP8",
"orm": "Full",
"platform": "Ripple",
"webserver": "PServer",
"os": "Linux",
"database_os": "Linux",
"display_name": "laravel-ripple",
"display_name": "laravel [ripple]",
"notes": "",
"versus": "php",
"tags": ["broken"]
Expand Down
43 changes: 0 additions & 43 deletions frameworks/PHP/laravel/deploy/swoole/composer.json

This file was deleted.

9 changes: 3 additions & 6 deletions frameworks/PHP/laravel/laravel-swoole.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ RUN mkdir -p bootstrap/cache \
storage/framework/views \
storage/framework/cache

COPY --link deploy/swoole/composer.json .

RUN echo "APP_SWOOLE=true" >> .env

RUN composer install -a --no-dev --quiet
RUN composer require laravel/octane:2.11 --update-no-dev --no-scripts --quiet
RUN php artisan octane:install --server="swoole"
RUN php artisan optimize

EXPOSE 8080

ENTRYPOINT [ "php", "artisan", "swoole:http", "start" ]
ENTRYPOINT ["php", "artisan", "octane:swoole", "--host=0.0.0.0", "--port=8080", "--workers=auto", "--task-workers=auto", "--max-requests=10000"]