- [URLs To Controller Actions](#urls-to-controller-actions)
- [URLs To Assets](#urls-to-assets)
- [URL Helpers](#url-helpers)
<a name="the-basics"></a>
## The Basics
#### Retrieving the application's base URL:
$url = URL::base();
#### Generating a URL relative to the base URL:
$url = URL::to('user/profile');
#### Generating a HTTPS URL:
$url = URL::to_secure('user/login');
#### Retrieving the current URL:
$url = URL::current();
#### Retrieving the current URL including query string:
$url = URL::full();
<a name="urls-to-routes"></a>
## URLs To Routes
#### Generating a URL to a named route:
$url = URL::to_route('profile');
Sometimes you may need to generate a URL to a named route, but also need to specify the values that should be used instead of the route's URI wildcards. It's easy to replace the wildcards with proper values:
#### Generating a URL to a named route with wildcard values: