Md Obydullah

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

   



360 Stories by Md Obydullah

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
11 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

How to Truncate String in Laravel

In this short article, I’m going to share how to truncate string in Laravel. Laravel 7 offers a more object-oriented, fluent string manipulation library...
Md Obydullah
54 sec read

How to Install hping3 & Flood DoS Attack

A Denial of Service (DoS) attack is an attempt to make an online service unavailable by overwhelming it with traffic. In this article, I’m...
Md Obydullah
1 min read

Laravel Generate Temporary URLs of AWS S3 Files

Sometimes, we want to share a file with someone for a limited time. We can easily do it in Laravel. In this article, I’m...
Md Obydullah
32 sec read

Debug Laravel Application with Laravel Debugbar

In this article, I’m going to share how to debug Laravel application with laravel-debugbar. This is a package to integrate PHP Debug Bar with Laravel. It...
Md Obydullah
1 min read

How to Register Eloquent Global Scope in Laravel

Global scopes allow you to add constraints to all queries for a given model. Laravel’s own soft delete functionality utilizes global scopes to only...
Md Obydullah
1 min read

Laravel Strong Password Validation

In this article, we are going to learn how to set strong password validation rule in Laravel. Let’s get started: Table of Contents Make...
Md Obydullah
1 min read

Install ImageMagick (Imagick) on Centos 8

In this article, I’m going to show how to install the Imagick PHP extension on RHEL/CentOS 7. Let’s get started: Table of Contents Install...
Md Obydullah
43 sec read

How to Rate Limit Route Requests in Laravel

According to Wikipedia, In computer networks, rate limiting is used to control the rate of requests sent or received by a network interface controller...
Md Obydullah
37 sec read

Data Pass Between Components using EventBus in Vue 3

We can share information between any components using EventBus. In Vue 2, using $emit we can do this task. But In Vue 3, $on,...
Md Obydullah
1 min read