Md Obydullah

  https://obydul.me Hey, I'm Md Obydullah. I build open-source projects and write article on Laravel, Linux server, modern JavaScript and more on web development.

   



387 Stories by Md Obydullah

Auto Restart MariaDB/MySQL If it Crashes on CentOS

Infrequently it happens on CentOS. MySQL/MariaDB stops working and our web application crashes. At this situation we have to login to SSH and restart...
Md Obydullah
36 sec read

How to Fix cURL Error 7 Failed to Connect…

Sometimes we face “cURL error 7: Failed to connect to permission denied” this type of error due to our server permission. Most of the...
Md Obydullah
18 sec read

Laravel Force User to Verify Email After Registration

Hi artisans! In this article, I’ll show how we can force user to verify email address after registration. Let’s get started: Table of Contents...
Md Obydullah
1 min read

How to Hide PHP Version in Linux

Sometimes we need to hide PHP version from our webserver to hide PHP version identy. It helps us to prevent malicious attacks. In this...
Md Obydullah
39 sec read

Hide Nginx Server Version in Linux

In this article, I’m going to show how to hide Nginx server signature in Linux. Generally, on 404 page, the server shows it’s version...
Md Obydullah
27 sec read

Set Up SSH Key-Based (Passwordless) Login on Linux Server

Typically, SSH keys is more secure and convenient than traditional password authentication. In this article, I’m going to show how to setup SSH key-based...
Md Obydullah
1 min read

Force Laravel to Use HTTPS Connection for all Links

Hi artisans, in this article I’ll show how to force Laravel project to use HTTPS for all links such as routes, assets. Let’s start:...
Md Obydullah
1 min read

How to Test CPU and Memory Load with Stress…

In this article, I’ll install Stress on Linux machine and test CPU and memory load with Stress. Let’s get started: Table of Contents Install...
Md Obydullah
54 sec read

Laravel Event and Listener with Example

Hi artisans. In this article, I’m going to share how Laravel event and listener work with example. Let’s start: Table of Contents Create Event...
Md Obydullah
2 min read

Pass by Value and Reference Example in PHP

Hi artisans, in this short article, I’m going to write about the pass by value and pass by reference. I’ll show examples in PHP...
Md Obydullah
40 sec read

Laravel Update Model and Relationship Data at the Same…

Hello, sometimes we need to update model & relationship tables data at the same time. We can do it very easily using Laravel eloquent....
Md Obydullah
31 sec read

Deploy Laravel & Vue or React App to Heroku

Hi artisans, in this article, I’m going to show how to deplay a Laravel or Laravel + Vue/React application to Heroku. Let’s get started:...
Md Obydullah
1 min read

Laravel SPA with Vue 3, Auth (Sanctum), CRUD Example

In this tutorial, we are going to create a single page application with Auth using Laravel and Vue 3. Let’s start: Tested with: Laravel...
Md Obydullah
12 min read

Store Log of Eloquent SQL Queries In Laravel

To debug Laravel application, sometimes we SQL Query logging. In this article, I’m going to share how to keep log of all queries¬†in Laravel....
Md Obydullah
54 sec read

Laravel dd() vs dump() vs var_dump() vs print_r() with…

To debug in PHP we use var_dump(), print_r() methos. Laravel provides a function to debug is called dd(). In this article, we are going...
Md Obydullah
53 sec read

Laravel Ban, Suspend or Block and Unban Auth User

Hi artisans, sometimes we need to ban users from our application. It’s an important feature. Laravel auth provides many functionalities. Unfortunately, they don’t provide...
Md Obydullah
2 min read

How to Pass Function as Parameter in JavaScript

Hi devs, in this article, I’m going to show how to pass function as parameter in JavaScript. Let’s have a look at some examples:...
Md Obydullah
27 sec read

How to Create Range Slider in Vue.js

Sometimes we need to filter data. To make filter pretty, we need range slider. In this article, I’m going to show how to make...
Md Obydullah
48 sec read