Download PDF on external URL via Laraval

If you have the URL of PDF which is situated on some other domain. You can allow it to be…

tgugnani

Get count of records created today Laravel

If you are looking to get the total number of records that are created / updated today in the mysql…

tgugnani

5 must-have Accessories for Remote Working : Get productive and organised

I work as a full stack web developer and have been working remotely since the last six years. If you…

tgugnani

Laravel – List all files in public directory

Laravel's Storage facade makes it easier to get list of files within a directory. However if you are looking to…

tgugnani

Cache laravel query results using file driver for ajax

Often in your laravel application you are loading and fetching the results on the database which doesn't necessarily needs to…

Ambika Sahni

Loop through Ajax response and display in HTML table using jQuery

When you have an ajax response which in the array format, and you have to loop through the result and…

Ambika Sahni

Add Select 2 package in Laravel using npm

There are two ways to include Select2 plugin in your laravel project, one is via including the CDN and another…

tgugnani

Validate optional fields in Laravel

At times in your laravel validation, you may want input field to be validated only if the user filled in…

tgugnani

Tomorrow and Yesterday date using Carbon in PHP Laravel

Using Carbon library it is very simple to get yesterday's and tomorrow's timestamp in your PHP or Laravel code. You…

tgugnani

Divide div in two columns using Tailwindcss

Simple post to demonstrate how you can divide your container, page or a div into two columns / parts using…

tgugnani