File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ end_of_line = crlf
1616[* .yml ]
1717indent_size = 2
1818
19+ [* .js ]
20+ indent_size = 2
21+
1922[Makefile ]
2023indent_style = tab
2124
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ export default {
2727 hostname : "https://book.cakephp.org/5.x/" ,
2828 } ,
2929 themeConfig : {
30+ vars : {
31+ phpversion : '8.5' ,
32+ minphpversion : '8.2'
33+ } ,
3034 socialLinks : [
3135 { icon : "github" , link : "https://github.com/cakephp/cakephp" } ,
3236 ] ,
@@ -42,9 +46,10 @@ export default {
4246 { ...versions } ,
4347 ] ,
4448 } ,
45- phpVersions : {
46- phpversion : '8.5' ,
47- minphpversion : '8.2'
49+ substitutions : {
50+ '|phpversion|' : { value : '8.5' , format : 'bold' } ,
51+ '|minphpversion|' : { value : '8.2' , format : 'italic' } ,
52+ '|cakeversion|' : '5.3.0' ,
4853 } ,
4954 locales : {
5055 root : {
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ Modern web server with automatic HTTPS. FrankenPHP extends Caddy with a built-in
368368
369369::: code-group
370370
371- ``` caddyfile [Caddy + PHP-FPM]
371+ ``` text [Caddy + PHP-FPM]
372372myapp.local {
373373 root * /var/www/myapp/webroot
374374 php_fastcgi unix//var/run/php/php8.2-fpm.sock
@@ -406,7 +406,7 @@ chmod +x frankenphp
406406./frankenphp php-server --root /var/www/myapp/webroot
407407```
408408
409- ``` caddyfile [FrankenPHP Caddyfile]
409+ ``` text [FrankenPHP Caddyfile]
410410# Caddyfile in your project root
411411{
412412 frankenphp
You can’t perform that action at this time.
0 commit comments