Reference

Guide

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