# zx-symfony-cms **Repository Path**: open-php/zx-symfony-cms ## Basic Information - **Project Name**: zx-symfony-cms - **Description**: 基于symfony的cms系统 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-14 - **Last Updated**: 2026-06-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ``` # my_sy symfony:8.0 php:8.4 需要下载symfony.exe https://symfony.com/download #### 运行 symfony server:start bin/console swoole:server:run bin/console cache:clear ### 手动编译镜像 demo,在docker目录下 [//]: # (docker build -t phpswoole/phpswoole/swoole:6.2.0-php8.4 -f dockerfiles/6.0.2/php8.4/cli/Dockerfile .) #### 挂在工作目录 docker compose up swoole -d composer require symfony/maker-bundle --dev php bin/console make:entity --from-database php bin/console doctrine:query:sql "SELECT version()" php bin/console doctrine:query:sql "SELECT * FROM admin ORDER BY RAND() LIMIT 1" .\ab.exe -n 8000 -c 300 -k http://127.0.0.1:9501/list This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 800 requests Completed 1600 requests Completed 2400 requests Completed 3200 requests Completed 4000 requests Completed 4800 requests Completed 5600 requests Completed 6400 requests Completed 7200 requests Completed 8000 requests Finished 8000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /list Document Length: 614 bytes Concurrency Level: 300 Time taken for tests: 6.205 seconds Complete requests: 8000 Failed requests: 7509 (Connect: 0, Receive: 0, Length: 7509, Exceptions: 0) Keep-Alive requests: 8000 Total transferred: 5693120 bytes HTML transferred: 3829120 bytes Requests per second: 1289.26 [#/sec] (mean) Time per request: 232.692 [ms] (mean) Time per request: 0.776 [ms] (mean, across all concurrent requests) Transfer rate: 895.98 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 1 Processing: 56 227 25.5 229 274 Waiting: 6 227 25.5 229 273 Total: 56 227 25.5 229 274 Percentage of the requests served within a certain time (ms) 50% 229 66% 231 75% 233 80% 235 90% 240 95% 248 98% 257 99% 263 100% 274 (longest request) bin/console list Symfony 7.4.13 (env: dev, debug: true) Usage: command [options] [arguments] Options: -h, --help Display help for the given command. When no command is given display help for the list command --silent Do not output any message -q, --quiet Only errors are displayed. All other output is suppressed -V, --version Display this application version --ansi|--no-ansi Force (or disable --no-ansi) ANSI output -n, --no-interaction Do not ask any interactive question -e, --env=ENV The Environment name. [default: "dev"] --no-debug Switch off debug mode. --profile Enables profiling (requires debug). -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: about Display information about the current project completion Dump the shell completion script help Display help for a command list List commands assets assets:install Install bundle's web assets under a public directory cache cache:clear Clear the cache cache:pool:clear Clear cache pools cache:pool:delete Delete an item from a cache pool cache:pool:invalidate-tags Invalidate cache tags for all or a specific pool cache:pool:list List available cache pools cache:pool:prune Prune cache pools cache:warmup Warm up an empty cache config config:dump-reference Dump the default configuration for an extension debug debug:autowiring List classes/interfaces you can use for autowiring debug:config Dump the current configuration for an extension debug:container Display current services for an application debug:dotenv List all dotenv files with variables and values debug:event-dispatcher Display configured listeners for an application debug:router Display current routes for an application error error:dump Dump error pages to plain HTML files that can be directly served by a web server lint lint:container Ensure that arguments injected into services match type declarations lint:yaml Lint a YAML file and outputs encountered errors router router:match Help debug routes by simulating a path info match secrets secrets:decrypt-to-local Decrypt all secrets and stores them in the local vault secrets:encrypt-from-local Encrypt all local secrets to the vault secrets:generate-keys Generate new encryption keys secrets:list List all secrets secrets:remove Remove a secret from the vault secrets:reveal Reveal the value of a secret secrets:set Set a secret in the vault swoole swoole:server:profile Handle specified amount of requests to Swoole HTTP server. Useful for profiling. swoole:server:reload Reload Swoole HTTP server's workers running in the background. It will reload only classes not loaded before server initialization. swoole:server:run Run Swoole HTTP server. swoole:server:start Run Swoole HTTP server in the background. swoole:server:status Get current status of the Swoole HTTP Server by querying running API Server. swoole:server:stop Stop Swoole HTTP server running in the background. PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> .\ab.exe -n 10000 -c 500 -k http://127.0.0.1:9501/lucky/number/33 This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /lucky/number/33 Document Length: 1 bytes Concurrency Level: 500 Time taken for tests: 1.907 seconds Complete requests: 10000 Failed requests: 7001 (Connect: 0, Receive: 0, Length: 7001, Exceptions: 0) Keep-Alive requests: 10000 Total transferred: 2327001 bytes HTML transferred: 17001 bytes Requests per second: 5243.86 [#/sec] (mean) Time per request: 95.350 [ms] (mean) Time per request: 0.191 [ms] (mean, across all concurrent requests) Transfer rate: 1191.65 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 1 Processing: 4 79 238.6 25 1846 Waiting: 4 79 238.6 25 1846 Total: 4 79 238.6 25 1846 Percentage of the requests served within a certain time (ms) 50% 25 66% 31 75% 35 80% 37 90% 56 95% 90 98% 1141 99% 1160 100% 1846 (longest request) PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> .\ab.exe -n 10000 -c 300 -k http://127.0.0.1:9501/list This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /list Document Length: 434 bytes Concurrency Level: 300 Time taken for tests: 4.981 seconds Complete requests: 10000 Failed requests: 9387 (Connect: 0, Receive: 0, Length: 9387, Exceptions: 0) Keep-Alive requests: 10000 Total transferred: 7115762 bytes HTML transferred: 4785762 bytes Requests per second: 2007.83 [#/sec] (mean) Time per request: 149.415 [ms] (mean) Time per request: 0.498 [ms] (mean, across all concurrent requests) Transfer rate: 1395.24 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 3 Processing: 38 147 422.6 76 4569 Waiting: 5 147 422.6 76 4569 Total: 38 147 422.6 76 4569 Percentage of the requests served within a certain time (ms) 50% 76 66% 81 75% 85 80% 88 90% 96 95% 104 98% 2486 99% 2516 100% 4569 (longest request) PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> .\ab.exe -n 20000 -c 1000 -k http://127.0.0.1:9501/lucky/number/33 This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 2000 requests Completed 4000 requests Completed 6000 requests Completed 8000 requests Completed 10000 requests Completed 12000 requests Completed 14000 requests Completed 16000 requests Completed 18000 requests Completed 20000 requests Finished 20000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /lucky/number/33 Document Length: 2 bytes Concurrency Level: 1000 Time taken for tests: 1.198 seconds Complete requests: 20000 Failed requests: 5971 (Connect: 0, Receive: 0, Length: 5971, Exceptions: 0) Keep-Alive requests: 20000 Total transferred: 4654029 bytes HTML transferred: 34029 bytes Requests per second: 16694.89 [#/sec] (mean) Time per request: 59.899 [ms] (mean) Time per request: 0.060 [ms] (mean, across all concurrent requests) Transfer rate: 3793.87 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 16 Processing: 6 54 25.9 44 189 Waiting: 3 54 25.9 43 187 Total: 6 54 25.9 44 204 Percentage of the requests served within a certain time (ms) 50% 44 66% 48 75% 68 80% 73 90% 86 95% 98 98% 137 99% 162 100% 204 (longest request) PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> .\ab.exe -n 100000 -c 5000 -k http://127.0.0.1:9501/lucky/number/33 This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Completed 100000 requests Finished 100000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /lucky/number/33 Document Length: 2 bytes Concurrency Level: 5000 Time taken for tests: 7.509 seconds Complete requests: 100000 Failed requests: 29657 (Connect: 0, Receive: 0, Length: 29657, Exceptions: 0) Keep-Alive requests: 100000 Total transferred: 23270343 bytes HTML transferred: 170343 bytes Requests per second: 13317.44 [#/sec] (mean) Time per request: 375.448 [ms] (mean) Time per request: 0.075 [ms] (mean, across all concurrent requests) Transfer rate: 3026.38 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.1 0 8 Processing: 14 337 178.6 308 1611 Waiting: 9 337 178.6 308 1611 Total: 14 337 178.7 308 1611 Percentage of the requests served within a certain time (ms) 50% 308 66% 313 75% 315 80% 317 90% 325 95% 342 98% 1149 99% 1377 100% 1611 (longest request) PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> .\ab.exe -n 100000 -c 5000 -k http://127.0.0.1:9501/list This is ApacheBench, Version 2.3 <$Revision: 1874286 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 127.0.0.1 (be patient) Completed 10000 requests Completed 20000 requests Completed 30000 requests Completed 40000 requests Completed 50000 requests Completed 60000 requests Completed 70000 requests Completed 80000 requests Completed 90000 requests Completed 100000 requests Finished 100000 requests Server Software: swoole-http-server Server Hostname: 127.0.0.1 Server Port: 9501 Document Path: /list Document Length: 482 bytes Concurrency Level: 5000 Time taken for tests: 27.999 seconds Complete requests: 100000 Failed requests: 93675 (Connect: 0, Receive: 0, Length: 93675, Exceptions: 0) Keep-Alive requests: 100000 Total transferred: 71204823 bytes HTML transferred: 47904823 bytes Requests per second: 3571.51 [#/sec] (mean) Time per request: 1399.966 [ms] (mean) Time per request: 0.280 [ms] (mean, across all concurrent requests) Transfer rate: 2483.49 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 16 Processing: 16 1312 279.5 1318 2627 Waiting: 6 1312 279.5 1318 2627 Total: 16 1312 279.5 1318 2630 Percentage of the requests served within a certain time (ms) 50% 1318 66% 1375 75% 1414 80% 1440 90% 1551 95% 1741 98% 1990 99% 2344 100% 2630 (longest request) PS D:\phpstudy_pro\Extensions\Apache2.4.43\bin> ```