Skip to content

Kirby 3.8.4

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