This worked for me, tried in Laravel 5.4.*

Requirement for this code to work flawlessly: All URL’s should have hierarchy pattern in your routes file

Below code will create crumb for each path –

<a href="/">Home</a> >                
<?php $link = "" ?>
@for($i = 1; $i <= count(Request::segments()); $i++)
    @if($i < count(Request::segments()) & $i > 0)
    <?php $link .= "/" . Request::segment($i); ?>
    <a href="<?= $link ?>">{{ ucwords(str_replace('-',' ',Request::segment($i)))}}</a> >
    @else {{ucwords(str_replace('-',' ',Request::segment($i)))}}
    @endif
@endfor

So Breadcrumb for URL your_site.com/abc/lmn/xyz will be – Home > abc > lmn > xyz

Hope this helps!