---
title: "Bedram Tamang (@Bedram) | Hashnode"
description: "Bedram Tamang (@Bedram) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Bedram"
---

@Bedram

# Bedram Tamang

@Bedram · Joined March 2022

### [Eloquent Trick: Laravel Model from Subquery](https://blog.jobins.jp/eloquent-trick-laravel-model-from-subquery?utm_source=hashnode&utm_medium=feed)

In Laravel, it's common to define a model's corresponding table using the table property, such as: class User extends Model { protected $table = 'users'; } This approach maps the model directly to a database table. However, there are situations wh...

3 min read · [blog.jobins.jp](https://blog.jobins.jp/eloquent-trick-laravel-model-from-subquery?utm_source=hashnode&utm_medium=feed)

[Aug 1, 2024](https://hashnode.com/posts/eloquent-trick-laravel-model-from-subquery/66f60b4895c0e1e5ebbbd86a)

### [Vue 2 reaches EOL, upgrade to Vue 3 now](https://blog.jobins.jp/vue-2-reaches-eol-upgrade-to-vue-3-now?utm_source=hashnode&utm_medium=feed)

Vue 2 reached its end of life on December 31, 2023, It's been more than 3 years since Vue 3 was available, but still, there are a lot of Vue Js applications that are running in Vue 2. In this article, I will demonstrate two different approaches to up...

5 min read · [blog.jobins.jp](https://blog.jobins.jp/vue-2-reaches-eol-upgrade-to-vue-3-now?utm_source=hashnode&utm_medium=feed)

[Feb 25, 2024](https://hashnode.com/posts/vue-2-reaches-eol-upgrade-to-vue-3-now/65dae7a5ea4c68224ae41409)

### [Upgrading Laravel: An easy Step-by-Step Guide from 5.7 to 10.x](https://blog.jobins.jp/upgrading-laravel-an-easy-step-by-step-guide-from-57-to-10x?utm_source=hashnode&utm_medium=feed)

In this article, I'll detail my method for upgrading any Laravel application, regardless of its current version, to the most recent Laravel release. Throughout this blog, I'll be showcasing my approach by upgrading an older Laravel 5.7 application di...

4 min read · [blog.jobins.jp](https://blog.jobins.jp/upgrading-laravel-an-easy-step-by-step-guide-from-57-to-10x?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/upgrading-laravel-an-easy-step-by-step-guide-from-57-to-10x/657fa9b68b115a3c09ebd277) [Dec 18, 2023](https://hashnode.com/posts/upgrading-laravel-an-easy-step-by-step-guide-from-57-to-10x/657fa9b68b115a3c09ebd277)

### [Simplifying Form Handling in Vue Applications with Form JS - Inspired by Inertia JS](https://blog.jobins.jp/simplifying-form-handling-in-vue-applications-with-formjs?utm_source=hashnode&utm_medium=feed)

Recently I have been working on FormJs, which is a form helper and wrapper around Axios, inspired by inertiaJs. The purpose behind writing this new library was to streamline the process of how we handle the form on the front-end side. Validating form...

4 min read · [blog.jobins.jp](https://blog.jobins.jp/simplifying-form-handling-in-vue-applications-with-formjs?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/simplifying-form-handling-in-vue-applications-with-formjs/646585ca3694297979e84fa2) [May 13, 2023](https://hashnode.com/posts/simplifying-form-handling-in-vue-applications-with-formjs/646585ca3694297979e84fa2)

### [Test Doubles in PHP with Mockery and PHPUnit](https://blog.jobins.jp/test-doubles-in-php-with-mockery-and-phpunit?utm_source=hashnode&utm_medium=feed)

Test doubles is a technique in which you replace the actual object with pretend object or a real method by pretend method or pre-define the return data and function arguments for a method to ease the testing purpose. In the real world, our applicatio...

5 min read · [blog.jobins.jp](https://blog.jobins.jp/test-doubles-in-php-with-mockery-and-phpunit?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/test-doubles-in-php-with-mockery-and-phpunit/642661637d1a2cc219e3e275) [Mar 31, 2023](https://hashnode.com/posts/test-doubles-in-php-with-mockery-and-phpunit/642661637d1a2cc219e3e275)
