Laravel 5.6 – New @method and @csrf Blade Directives
Laravel is gonna introduce two new Blade Directives as part of 5.6 release, @method and @csrf Directives. In the current Laravel 5.5 version, we are
Laravel is gonna introduce two new Blade Directives as part of 5.6 release, @method and @csrf Directives. In the current Laravel 5.5 version, we are
In this post, I would like to show you downloading files using node js and wget. We gonna use URL, child_process and path modules to
If you update the user email address when you are using the device gem, it will be stored in the unconfirmed_email column and it will
In this post, I will show you a simple method to log each and every Eloquent Query your application executes. We gonna log queries to
In Laravel 5.5, writing custom blade if Directives is pretty easy. Using this new feature, you can write simplified and clean if statements in your
In this post, we gonna write a simple PHP script to grab the given website URL screenshot. So let’s create an HTML form to collect
As part of Laravel 5.5 version release, Laravel introduced new blade directives called @auth and @guest.As the name implies both can be useful to determine
Laravel offers two new useful debugging methods dump() and dd() as part of Laravel 5.5 version release. These methods are added to Collections, it means
Laravel 5.5 includes a new `Optional` class with a new helper() function, which you can think of as a generic null object implementation. The point
Laravel 5.5 is introduced a new feature called dynamic view loading and it makes your controllers simple and more expressive when dealing with dynamic templates.
We gonna use barryvdh/laravel-dompdf Laravel package to generate PDF files from view file. This package is just a wrapper around DOMPDF library. Installtion Use below
Laravel 5.5 introduced new Router class method called redirect, which gives the flexibility to redirect to other URLs directly without creating a controller or closure.
Laravel 5.5 introduced new Router class method called view, which gives the flexibility to render the view file directly without creating a controller or closure.
You can easily change created_at and updated_at column names by overriding CREATED_AT and UPDATED_AT constants in your Eloquent model. Example #Task Model Let’s assume you