Documentation
Uri
The uri helper allows you to interact with the URI.
segments()
Get uri and explode command/param1/param2
$segments = Uri::segments();
segment()
Get uri segment
$segment = Uri::segment(1);
command()
Get command/component from registed components
$command = Uri::command();
params()
Get uri parammeters
$params = Uri::params();