There are many ways we can get the list of registered routes in Laravel. I would prefer the below two methods.
How to Calculate Whether an Image Is Landscape or Portrait in PHP & Javascript?

When I was creating an image gallery for a webiste, needed to show whether the image is portrait or landscape. So today’s tutorial, we will have answer for this question.
PHP array_column() Function Example
PHP function is built in PHP function, that returns the values from a single column in the input array. Basically, return the single column of the array based on the provided by the program.
Two ways to set default DB column value in Laravel
Sometimes your project needs to set default values to some fields if it’s not set from the form/another source. In Larvel there are two ways to set default values to the DB column.
How to constrain a route parameter with a given regular expression globally in Laravel?
How would you make sure a route parameter is always a numeric value. Most of the time an parameter will be an integer value. So today’s tutorial we will show how to globally constrain a parameter to a regular expression.
State Management in ASP.Net MVC

Introduction Microsoft frameworks are strongly considered for their security features. Some of the astonishing features include authentication-authorization management, HTTPS enforcement, error management with Global Exception Handling support in ASP.NET Core, CORS management, etc.
How to send GET and POST AJAX request with JavaScript

Ajax requests are very important for the modern web as they refresh the page content without reloading the entire page. It’s a good contribution to the user experience. A question that arises now is how to implement Ajax in Javascript. However, there are a plethora of libraries that work with Ajax like jQuery, VueJs, Axios,…Continue Reading
Add default current timestamp to Laravel migration
Adding a default current timestamp, in MySql via Laravel migration. $table->timestamp(‘created_at’)->default(DB::raw(‘CURRENT_TIMESTAMP’));
How to Get Value of Selected Option In JavaScript?
Today’s tutorial we will learn how to get value of selected option in JavaScript. In JavaScript, we use selectedIndex property to get the value of select box value element. The selectedIndex property sets and returns the index of selected value from the drop-down list. We will use onClick to get the value, you can use…Continue Reading
Add dynamic form fields using AlpineJS
Why we need to use AlpineJS, a simple answer is to that is create a better experience. Over the years, we use jQuery to create an event listener on the button clicks, form submits, or other manipulations on the web page. It works perfectly for our requirements, but an imperative method ( asking the browser…Continue Reading
All Countries SQL file with Country Codes to Download
This post focused on the data that includes list of countries and country code in different formats such as sql, json, php etc. You can click on the download link to download the files Download Countries SQL File
Using Laravel’s dd (dump and die) function in your application
One of the common debugging option still remains in PHP is to print the values in the browser using or .
Pros and Cons for using JSON over XML – Detail Guide
JSON (JavaScript Object Notation) and JSON beautify Tools are a modern market favourite. It is common coding knowledge that JSON stores the entirety of its digital information in the form of a guide design; key combinations – thus a more convenient option because it is much simpler to fathom than other data formats. The modern…Continue Reading
PHP Variable Interpolation
Variable interpolation is adding a variable inside a string in PHP. The main thing to note is, PHP interpolation works only in double-quoted strings and the heredoc syntax. If you use interpolation inside a string with single quotes, it will just print back the same variable. In fact, the single-quoted string can not parse the interpolated…Continue Reading
Top Website Ideas To Make Money Online

Looking for top website ideas to make money online, you are in the right place to start with. It’s not rare that people searching online for the best website ideas to make money. In today’s world, everybody in need of creating a passive income, but so many of them found their steady passive income using…Continue Reading
Pros and Cons of WordPress for Web Designers
Whether you want a blog, business website, sell online courses or an online store, you can create it using WordPress. WordPress is a content management system that allows users to develop websites. During its establishment, WP was a blog platform but has since become a global CMS for all users. So, as a web designer,…Continue Reading
Laravel 8 – Ajax File Upload with Progress Bar
Today’s tutorial I will show you how to work on ajax file upload with progress bar in Laravel. File uploads are pretty much everywhere in today’s web/mobile applications. For example, in Facebook profile users want to add a photo, or in twitter handle users want to show an event picture etc. Let’s start with create…Continue Reading
Show Thumbnail Image from YouTube Video URL using PHP
Thumbnail is the preview of an image, of a group of entities such as a movie, image gallery etc. The advantages of the thumbnail is, reduced size of image, when compared to the original image used to represent something. A website or app that has thumbnails will have faster page loads rather than showing the…Continue Reading
How to Pass Argument in Bash/Shell Script?
Most of the people working on the linux environment definitely stuck in this question, how to pass arguments in a bash/shell script. The good news is you can pass any number of arguments to your script while it is executed. In this article, I will show you how to pass an argument using Linux/Mac shell…Continue Reading
Eloquent date filtering using whereDate()
As like any other PHP frameworks Laravel has certain ways to filter the data by date. Let’s say you need to filter data set based on today. So I assume you have a field created_at in your database table. Consider this simple set of functions below, it fetches all the records dated today. Apparently, this…Continue Reading
Laravel 8 Create Custom Helper Functions (Global function)
This article helps you to create a custom helper function in Laravel. You may have noticed some functions in Larave do not need to import the classes, and it’s not attached with any class name, such as optional(), route() etc. These are so called helper functions.
Automatically Set a Local Timezone for Users In Laravel
Laravel Timezone is a great package by James Mills which sets users timezone in an application and show it based on their timezone. This package listens for the event and will automatically set a timezone on your user model. This brillaint package uses the torann/geoip package which looks up the users location based on their…Continue Reading
Force HTTPS with a Middleware in Laravel
Secured URLs has a key role to secure your web application in many ways. In my opinion, you should always serve the content via a secure URL and this is one of many ways to prevent from exploits. Oftentimes, applications will have a secure URL and URL without HTTPS. So our application needs to decide…Continue Reading
Solution: Git is not fetching other remote branches when running git pull origin
I have faced a strange porblem that when I run command, it is not fetching all the remote branches available. In that case I am not able to checkout to other team member’s branches. In simple words fetch command in git doesn’t get all branches.
How To Clear MicroSoft Teams Client Cache on Mac?
It’s very common thing that clearing cache when we have something wrong with our softwares and which is not only help to save space on the device, but to ensure smooth working of the software. Below are the steps you need to follow to clear the cache of the Microsoft Teams communication software. Right Click…Continue Reading
How to Remove Multiple Elements by Key in PHP Array?
Today’s article, we will remove multiple elements by key in a PHP array. Using PHP we can delete multiple keys from an Array. In PHP there is no built in method to achieve this, but we can combine several PHP functions to achieve this. In this article we will be demonstrating two methods to remove…Continue Reading
How to enter new line in Microsoft Teams?
Did you ever hit Enter, thinking of a new line in Microsoft Teams and send a half prepared message. If then this article is for you. It’s very normal that you will have to add multiple lines in your messages. Some people uses a different text editor to type the long message and copy paste…Continue Reading
Difference between Laravel’s raw SQL functions
Laravel comes with a lot of helper functions to interact with Database efficiently . There are Eloquent which composes an ORM model, and helps to write expressive relations and queries. But some cases that’s not enough, we have to have some raw queies need to write to achieve the results. So in this article we…Continue Reading
How to clear laravel.log in Laravel?
laravel.log is a file that contains logs from various actions in laravel framework. This file is usually located in To clear laravel.log you could use the below methods easily.
How to fix docker: Got permission denied issue on Ubuntu
Problem When I ran just command on Ubuntu 20.04 LTS, it throws an error like below. But it was fine when I used .