Installing Laravelcollective/html package in laravel 5.4

In order to use form helpers in Laravel 5, you need to install Laravelcollective/html package. Laravel’s Laravelcollective/html package is HTML and Form Builders Package for the Laravel Framework. Below are step to install Laravelcollective/html package in Laravel 5.4. Step1 :- Install the package by running below composer command in your project directory. composer require laravelcollective/html […]

Read More

Laravel’s tap() helper

Laravel’s tap() is global helper function , that is used for improving the Laravel framework’s declarative capabilities.Tap() function is inspired from Ruby.Tap() simply takes $value and a $callback / anonymous function. The $callback will execute with the $value as the argument. And finally the $value will be returned.You can make changes in value in callback. […]

Read More