core
core copied to clipboard
current url
Hello, How can I get the current url?
try: Flight::route ();
https://flightphp.com/learn#requests
$url = Flight::request()->query['url'];
or
$url = Flight::request()->query->url;
magikstm thank you very much for the reply. This framework is incredible. I am flying with this framework. It is much better than F3 and Lumen. Super intuitive.
what difference is there with: Flight::router()->current ();