Regex in route laravel?

Just do:

Route::get('tg', 'PP\[email protected]');

and handle the GET parameter in the function:

public function getHooks(Request $request) {
    $tg = $request->query('tg');
    // do something with it now
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top