Laravel Blade @prepend Directive
Laravel 5.4 / February 11, 2017

Laravel Blade @prepend Directive

In version 5.4 Laravel added a new components and slots feature that simplifies building HTML elements into reusable areas. As an example of how this features works pretend you have a layout.blade.php file that includes this: <ul id=”sidebar”> @stack(‘sidebar’) </ul> Now when you want to insert data into this section from a sub-view you can …

13 Laravel Admin Panel Generators
Laravel Applications / February 09, 2017

13 Laravel Admin Panel Generators

Developers are lazy. No, I’m not kidding—they work hard to create systems that help them avoid more work in the future. Especially, repetitive work. And there are quite extreme examples now—we don’t need to write code anymore; it is being generated for us. Today we will look at the examples of various admin panel and …

Homestead Now Includes Mailhog
News / February 07, 2017

Homestead Now Includes Mailhog

A new Homestead base box has been released: Version 1.1.0. This release includes a new local mail handing system named  Mailhog. The grunt-cli npm package is now installed globally, OPcache is now always invalidated, and finally we added some package-cleanup to the build process to lower the download size of the final compressed base box. …

Announcing Laracon Online
Laracon / February 06, 2017

Announcing Laracon Online

Laracon Online is a brand new one-day conference that will be held entirely online. This means no matter where you live you can now take part in Laracon. No hotels, no airfare, just signup and spend the day watching some of the best speakers right from your computer. The speaker list includes Taylor Otwell, Jeffrey …

PHPUnit 6.0.0 Is Released
News / February 03, 2017

PHPUnit 6.0.0 Is Released

PHPUnit has released version 6.0, and it now drops support for PHP 5.6, which is no longer actively maintained. Some of the new features in this release include: Added a new getExpectedExceptionCode() and getExpectedExceptionMessage() Support for annotations on traits Allow to filter for multiple test suites Added the PHPUnit\Framework\TestCase::createTestProxy() method for creating test proxies Added …

Keeping the Creativity in Code
Career / February 03, 2017

Keeping the Creativity in Code

A January 2016 New York Times op-ed piece by Wharton professor, Adam Grant, discusses why the most successful adults are generally not child prodigies. He reasons the vast majority of highly and unusually gifted people are exceptionally good at following the rules. You give them a problem and they solve it in the most textbook …

Laravel Spark 4.0 is Released
News / February 02, 2017

Laravel Spark 4.0 is Released

Laravel Spark v4.0 is now released and available to all license holders. Spark 4.0 is a free upgrade and provides compatibility with Laravel 5.4. Also, Spark 4.0 applications are configured to use Laravel Mix and Webpack instead of Laravel Elixir. If you have Spark installed through the CLI tool upgrading is as simple as running: …

Laravel Eloquent Relationships Through Macros
Laravel 5.4 / February 02, 2017

Laravel Eloquent Relationships Through Macros

A new feature just merged into Laravel and included in the v5.4.8 update is the ability to define Macros for Eloquent Relationships. To better show how this feature works here is a screenshot by Jordan Pittman who created the original pull request: Here is that same example in a copy and paste friendly version. AppServiceProvider …

Find Laravel Code and Packages with GitHub’s New Topics Feature
News / February 01, 2017

Find Laravel Code and Packages with GitHub’s New Topics Feature

Yesterday, GitHub announced a new “topics” feature that allows you to tag your repositories so that people can search for similar projects. Many Laravel related repo’s have already started utilizing this and you can use this as a way of finding projects. Here is an example Laravel Package search. As a little Laravel history back …

Deprecations for PHP 7.2
News / January 30, 2017

Deprecations for PHP 7.2

The PHP 7.2 RFC for deprecating some current functionality has been approved. The following items are included in this list and will begin throwing deprecated notices: __autoload The magic __autoload function has been superseded by spl_autoload_register in PHP 5.1 and its use discouraged in the documentation. One primary advantage of spl_autoload_register() is the ability to …