Unverified Commit dcf8527c authored by Michael Kopinsky's avatar Michael Kopinsky Committed by GitHub
Browse files

Update README.md with namespace

The namespace isn't hard to guess, but may as well save the user some effort. :-)
parent 1c019176
......@@ -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