Skip to content

Kirby 4.4.1

(:any)

Matches any character until the next slash

Example

/site/config/config.php
return [
  'routes' => [
    [
      'pattern' => '/projects/(:any)',
      'action'  => function (string $path) {
        // react to requests
      }
    ]
  ]
];