Skip to content

Kirby 3.5.7.1

(:all)

Matches all characters including slashes

Example

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