Unverified Commit d541f20e authored by Freek Van der Herten's avatar Freek Van der Herten Committed by GitHub
Browse files

Merge pull request #29 from mkopinsky/patch-1

Update README.md with namespace
parents 1c019176 dcf8527c
......@@ -12,6 +12,8 @@ A simple package to deal with URL's in your applications.
Retrieve parts of the URL:
```php
use Spatie\Url\Url;
$url = Url::fromString('https://spatie.be/opensource');
echo $url->getScheme(); // 'https'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment