Skip to content

Kirby 3.9.8

(: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
      }
    ]
  ]
];