Laravel Breadcrumbs Package

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:

Posted in php

Continue Reading

Laravel JSON – A Simple Wrapper Around JSON for Catching Errors

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().

Posted in php

Continue Reading

Laravel Localization Package for Vue

Laravel Localization to Vue is a new package by Stefan Ninic that converts Laravel localization into a format consumable by JavaScript packages like Lang.js, which is a Laravel translator class in Javascript. The package will help you quickly transform Laravel translations into a format consumable by a Vue.js application.

Posted in php

Continue Reading

PHP in 2018

PHP in 2018 is a talk by PHP creator Rasmus Lerdorf, which focuses on new features in PHP 7.2 and 7.3. We have some exciting low-level performance wins coming to PHP 7.3, which should be out late 2018.

Posted in php

Continue Reading

Factory Callbacks and Closure-Based Guards in Laravel

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 ????????

Posted in php

Continue Reading

PHP 7.3 Alpha 1 Released

The PHP team announced yesterday that the release of the first PHP 7.3.0 versionAlpha 1is available. This starts the PHP 7.3 release cycle which is based on PHP 7.2.

Posted in php

Continue Reading

Laravel 5.6.23 and 5.6.24 Released

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.

Posted in php

Continue Reading

Announcing Laravel Events

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.

Posted in php

Continue Reading