How to the domain url in laravel5
<p>I have to get the domain url (ex. <a href="http://www.example.com/" rel="nofollow">http://www.example.com/</a>) in laravel blade. I've tried using {{ url() }} but it returns the path to my public directory. Is there any one line function to get this? How do I get the domain in blade? Need help. Thanks.</p>