Posted in php
Breadcrumbs are one of those things that I dont think about until I need them, and then I feel like I recreate a system for them in my application every time. Laravel Breadcrumbs is a package by Dave James Miller that makes adding breadcrumb navigation to your application (relatively) painless with a simple API: To render breadcrumbs, you can pick from the following templates that ship with the Laravel Breadcrumb package at the time of writing: Depending on which template you need, you configure it as a published configuration in config/breadcrumbs.php: And finally you render the breadcrumbs in your view:
When we wrote PHP 7.3: A Look at JSON Error Handling, Jan stlund mentioned a package he wrote called Laravel JSON. Laravel JSON is a small package that makes encoding and decoding JSON a breeze with exceptions thrown on error immediately: A simple wrapper around json_encode() and json_decode() for catching any errors without executing json_last_error().
Two undocumented (before today anyhow) features were recently added to the Laravel 5.6 documentation, and they are both fantastic! First, factory callbacks allow you to perform additional tasks after making or creating a model: Thanks to @driesvints for documenting this handy new feature pic.twitter.com/UZ01NxR6yz Taylor Otwell ????????
Two new releases are available for the Laravel framework since we covered Laravel 5.6.22 so lets see whats new in the latest versions of Laravel 5.6. Laravel v5.6.23released about 12 days agoadds the ability to rename database indices, a new event fake, a @canany directive, and a TestReponse:: assertLocation() method.
Laravel Events is a brand new community site that I created with the goal of helping keep the community informed of conferences, meetups, and other events. My goal is to pull over the events for the Laravel News homepage and also integrate with the weekly newsletter.