---
title: "Mayank Jani (@mayankjani) | Hashnode"
description: "Fullstack Developer - Laravel, VueJS & Flutter. Read the latest articles by Mayank Jani on Hashnode."
url: "https://hashnode.com/@mayankjani"
---

@mayankjani

# Mayank Jani

@mayankjani · India · Joined September 2024

Fullstack Developer - Laravel, VueJS & Flutter

### [Demystifying Value Objects in PHP](https://blog.mayankjani.com/demystifying-value-objects-in-php?utm_source=hashnode&utm_medium=feed)

Value Objects are simple PHP classes that allow us to compare the values of an entity that could be in different formats. For example, money could be in multiple currencies, and it cannot be directly compared with just an amount. Let’s dive right int...

1 min read · [blog.mayankjani.com](https://blog.mayankjani.com/demystifying-value-objects-in-php?utm_source=hashnode&utm_medium=feed)

[Oct 7, 2024](https://hashnode.com/posts/demystifying-value-objects-in-php/6703cd20eaa48eca37f2991c)

### [Data Transfer Objects (DTOs) in PHP](https://blog.mayankjani.com/data-transfer-objects-dtos-in-php?utm_source=hashnode&utm_medium=feed)

DTOs allows you to pass data between classes. This is especially useful when interacting with 3rd party APIs

4 min read · [blog.mayankjani.com](https://blog.mayankjani.com/data-transfer-objects-dtos-in-php?utm_source=hashnode&utm_medium=feed)

[Sep 13, 2024](https://hashnode.com/posts/data-transfer-objects-dtos-in-php/66e3f873bd5511d361756b8a)

### [How to reuse database queries in Laravel](https://blog.mayankjani.com/how-to-reuse-database-queries-in-laravel?utm_source=hashnode&utm_medium=feed)

Often in database heavy applications in Laravel, we have numerous database queries to fetch various types of data. You might use them in controllers, services, console commands, admins, and other pieces of code. Often these queries are not organized ...

3 min read · [blog.mayankjani.com](https://blog.mayankjani.com/how-to-reuse-database-queries-in-laravel?utm_source=hashnode&utm_medium=feed)

[Sep 11, 2024](https://hashnode.com/posts/how-to-reuse-database-queries-in-laravel/66e12a5d6e6028e7df1adb66)
