Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

Wildcards in routes? #6

@sebastienratez

Description

@sebastienratez

Hi there!

I am trying to implement a wildcard in the routes, such as showing in https://auth0.com/docs/quickstart/backend/php (see $router->before('GET', '/secured/.*', function() {...)

Do you think there would be something similar in one-php? Basically what that code is doing is adding a controller before any other to make sure any route in this path requires authentication.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions