feat(caddy): add command to start a PHP server (#238)

* feat(caddy): a command to start a PHP server

* docs and l shortcut

* fix some bugs and support for compression

* cleanup

* enable compression by default

* add -a shortcut

* refactor

* const

* docs
This commit is contained in:
Kévin Dunglas
2023-10-05 14:56:04 +02:00
committed by GitHub
parent b4780b6495
commit c624971fa7
4 changed files with 240 additions and 3 deletions

7
testdata/large-response.php vendored Normal file
View File

@@ -0,0 +1,7 @@
<?php
require_once __DIR__.'/_executor.php';
return function () {
echo str_repeat("Hey\n", 1024);
};