Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Feb 26, 2024
1 parent 657a03a commit 165eca9
Show file tree
Hide file tree
Showing 6 changed files with 386 additions and 618 deletions.
21 changes: 1 addition & 20 deletions Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,6 @@ localhost {
route {
root * public/
#php_fastcgi 127.0.0.1:9000
# Add trailing slash for directory requests
@canonicalPath {
file {path}/index.php
not path */
}
redir @canonicalPath {path}/ 308

# If the requested file does not exist, try index files
@indexFiles file {
try_files {path} {path}/index.php index.php
split_path .php
}
rewrite @indexFiles {http.matchers.file.relative}

# FrankenPHP!
@phpFiles path *.php
php @phpFiles

#encode zstd gzip
file_server
php_server
}
}
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,3 @@ chmod +x ./frankenphp-demo
```

It's also possible to run commands with `./frankenphp-demo php-cli bin/console`.

To reduce the size before distributing it, compress it with `xz`.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"api-platform/core": "^3.2.1",
"doctrine/doctrine-bundle": "^2.10.2",
"doctrine/doctrine-migrations-bundle": "^3.2.4",
"doctrine/orm": "^2.16.2",
"doctrine/orm": "^3.0.1",
"runtime/frankenphp-symfony": "^0.2.0",
"symfony/asset": "^7.0.0",
"symfony/console": "^7.0.0",
Expand Down
Loading

0 comments on commit 165eca9

Please sign in to comment.