Laravel Community Tools by Tighten

Matt

Joined: 12 years ago
Total tricks: 2
Last trick: 11 years ago

Submitted tricks

This macro has the same signature than HTML::linkRoute() but wraps the hypertext link with <li></li>. If the current URL is the specified route, then <li> becomes "active" (<li class="active>...</li>). I use it to quickly build menus. Work well with Bootstrap.
Matt 12 years ago 8693
It's possible to add condition to your model's relationships... Help me to use Eloquent with a legacy database..
Matt 11 years ago 9034