diff --git a/config b/config index 00050f6..d3a38d4 100644 --- a/config +++ b/config @@ -24,6 +24,7 @@ fatfree-3.8 fuelphp-1.9 kumbia-1.2 laravel-10.3 +laravel-11.0 leaf-3.5 lumen-10.0 phroute-2.2 diff --git a/laravel-11.0/_benchmark/clean.sh b/laravel-11.0/_benchmark/clean.sh new file mode 100755 index 0000000..36d8cb0 --- /dev/null +++ b/laravel-11.0/_benchmark/clean.sh @@ -0,0 +1,4 @@ +#!/bin/sh +rm -rf !("_benchmark") +find -path './.*' -delete +rm -rf _benchmark/temp \ No newline at end of file diff --git a/laravel-11.0/_benchmark/clear-cache.sh b/laravel-11.0/_benchmark/clear-cache.sh new file mode 100755 index 0000000..946c390 --- /dev/null +++ b/laravel-11.0/_benchmark/clear-cache.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# clear cache +php artisan cache:clear +php artisan optimize +echo -e "done" \ No newline at end of file diff --git a/laravel-11.0/_benchmark/hello_world.sh b/laravel-11.0/_benchmark/hello_world.sh new file mode 100755 index 0000000..2d69368 --- /dev/null +++ b/laravel-11.0/_benchmark/hello_world.sh @@ -0,0 +1,2 @@ +#!/bin/sh +url="$base/$fw/public/index.php/hello/index" \ No newline at end of file diff --git a/laravel-11.0/_benchmark/laravel/app/Http/Controllers/HelloWorldController.php b/laravel-11.0/_benchmark/laravel/app/Http/Controllers/HelloWorldController.php new file mode 100755 index 0000000..58c771b --- /dev/null +++ b/laravel-11.0/_benchmark/laravel/app/Http/Controllers/HelloWorldController.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/laravel-11.0/_benchmark/laravel/public/index.php b/laravel-11.0/_benchmark/laravel/public/index.php new file mode 100755 index 0000000..05b5758 --- /dev/null +++ b/laravel-11.0/_benchmark/laravel/public/index.php @@ -0,0 +1,21 @@ +handleRequest(Request::capture()); + + +/* *** PHP-Frameworks-Bench *** */ +require $_SERVER['DOCUMENT_ROOT'].'/PHP-Frameworks-Bench/libs/output_data.php'; \ No newline at end of file diff --git a/laravel-11.0/_benchmark/laravel/routes/web.php b/laravel-11.0/_benchmark/laravel/routes/web.php new file mode 100755 index 0000000..55ea02b --- /dev/null +++ b/laravel-11.0/_benchmark/laravel/routes/web.php @@ -0,0 +1,22 @@ +