Code Brisk
hero

NEWS CORNER.

CODE BRISK BLOG

Clean Code Concepts Adapted for PHP

Clean Code Concepts Adapted for PHP

Clean Code PHP (jupeter/clean-code-php), is a guide based on the book Clean Code: A Handbook of Agile Software Craftmanship, a classic programming book about writing maintainable code by ......

Read More

A Roundup of Laravel Testing Resources and Packages

A Roundup of Laravel Testing Resources and Packages

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

Read More

Blade::if() Directives

Blade::if() Directives

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 AppServiceProvider::boot()method:

<......

Read More

Laravel 5.5 Custom Validation Rule Objects

Laravel 5.5 Custom Validation Rule Objects

Laravel 5.5 will introduce support for custom validation rule objects as an alternative to using Validator::extend for custom validation rules

Read More

Laravel 5.5 Responsable Interface for Responses

Laravel 5.5 Responsable Interface for Responses

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 

Read More

Introducing Laravel Horizon

Introducing Laravel Horizon

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

Read More

Laravel v5.4.29 is Released with Two New Blade Directives

Laravel v5.4.29 is Released with Two New Blade Directives

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.

New @auth and @guest Directives

The @auth directive allows you to simpli......

Read More

Two Best Laravel Packages to Manage Roles/Permissions

Two Best Laravel Packages to Manage Roles/Permissions

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.

Why Do You Need Packages?

......

Read More

Rollbar Config for your Laravel App – Sponsor

Rollbar Config for your Laravel App – Sponsor

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

Read More

Partyline – A Package to Print to the Artisan Console From Anywhere

Partyline – A Package to Print to the Artisan Console From Anywhere

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

Read More