PHP to remove unnecessary key and value pairs from any multi-dimensional array

2 years ago
Mohammad Zahed Kamal

Today I will share a snippet I've used in a project. Using that function, you can recursively remove key-value pairs…

Use vanilla JavaScript to make Ajax request

2 years ago

JavaScript AJAX (Asynchronous JavaScript and XML) is a technique that gives the ability to send and receive data asynchronously from…

Add animation to bootstrap carousel elements

2 years ago

By default, Bootstrap carousel has no way to add animations to carousel elements. Here I'm going to show you how…

Create custom pagination template in Laravel

2 years ago

Laravel comes up with a paginator that generates HTML compatible with the Tailwind CSS framework. But Laravel allows you to…

Add Bootstrap Icons in SASS or SCSS

2 years ago

Bootstrap introduced their icons collection in November 2019 as Bootstrap Icons (v1.0.0-alpha). At that time, they had only 213 icons.…

Create autocomplete using vanilla JavaScript

2 years ago

To create autocomplete feature for input field(s), HTML's datalist tag can be the easiest solution. But it has limited styling…

Use gulp to automate SASS to CSS compilation

2 years ago

Gulp is a toolkit to automate & enhance our workflow. Most of the time, I use gulp for my SASS…

Easily update Node.js dependencies to their latest version

2 years ago

When you install a node.js package, you get the latest version. But, what if you need to get the latest…

Define global variables in laravel

2 years ago

Imagine you want to define some variables that can be accessed from anywhere in your laravel project. To achieve that,…

Run laravel artisan commands without ssh access

3 years ago

Laravel has its own command-line interface named Artisan. It has a list of useful commands. You'll need to use artisan…