Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

parse_url Modifier

Get information about a URL.

url: 'http://example.com/path?query=1'
{{ url | parse_url }}
{{ url | parse_url('host') }}
{{ Statamic::modify($url)->parseUrl() }}
{{ Statamic::modify($url)->parseUrl('host') }}
[
'scheme' => 'http',
'host' => 'example.com',
'path' => '/path',
'query' => 'query=1',
]
example.com
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →