Testing code is one of the more challenging parts of programming, but luckily Laravel and some other tools are making it easier than ever. Research has even shown implementing a Test-Driven Development (TDD) approach can significantly reduce the number of bugs that make it to production. Testing provides m......
A new Blade addition in Laravel 5.5 will add support for simplifying custom
ifstatements in your views.
The syntax might something like this in your
A new return type will be supported in Laravel 5.5 routes: the
Responsableinterface. This contract allows objects to be converted to an HTTP response instance when returned from a controller or route closure. A
The moment everyone in the Laravel community has been waiting for has finally arrived! Laravel Horizon is software to “supercharge your queues with a beautiful dashboard and code-driven configuration.”
On a regular basis, I find myself on a pro......
Laravel V5.4.29 is now released and available. This is a maintenance release but it includes two new Blade Directives, a
--force option on some of the “make” commands, and more.
The @auth directive allows you to simpli......
Roles and permissions are an important part of many web applications. Laravel historically had a lot of packages for them, and improved the core code as well. So what is the situation on this market today? What packages are the best to use? I’ve picked two.
Rollbar is an excellent error-monitoring service that I often reach for two reasons:
They have a very generous free tier of up to 5,000 events (errors) per month, which is ideal for newer companies and smaller projects.
They allow you to pass user data with your errors, meaning you not ......
Partyline is a new package that allows you to output to the console from outside of command class. This allows you more control on how things are printed and is great for when you need to loop items and show progress or other insights.
Here is an example of a normal Command’s handle method ......