<div>
<div class="tags-widget widget-item">

<h3 class="widget-title">Tags</h3>
<ul>
    @foreach (getTags() as $tags )
    <li><a href="{{ route('tag_posts', urlencode($tags)) }}">{{ $tags }}</a></li>
    @endforeach
</ul>

</div>
</div>