---
title: "Chaiwei (@chaiwei) | Hashnode"
description: "Seasoned PHP and Drupal Developer Exploring the Worlds of Laravel, React, and TypeScript. Read the latest articles by Chaiwei on Hashnode."
url: "https://hashnode.com/@chaiwei"
---

@chaiwei

# Chaiwei

@chaiwei · Joined November 2023

Seasoned PHP and Drupal Developer Exploring the Worlds of Laravel, React, and TypeScript.

### [Optimizing Laravel Eloquent Queries](https://chaiwei.hashnode.dev/optimizing-laravel-eloquent-queries?utm_source=hashnode&utm_medium=feed)

Recently, I was working on a project where I identified that a significant number of database queries were being executed, leading to performance issues. Especially when dealing with relationships, one common performance issue developers face is the ...

2 min read · [chaiwei.hashnode.dev](https://chaiwei.hashnode.dev/optimizing-laravel-eloquent-queries?utm_source=hashnode&utm_medium=feed)

[May 27, 2024](https://hashnode.com/posts/optimizing-laravel-eloquent-queries/6654dca4eace7d8773f93d94)

### [Leveraging Forks in Your Projects: A Step-by-Step Guide](https://chaiwei.hashnode.dev/leveraging-forks-in-your-projects-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

1\. Forking the Repository: Navigate to the GitHub repository of the package you wish to fork. Click on the "Fork" button in the top-right corner of the page. Choose your GitHub account as the destination for the fork. 2. Cloning Your Fork: On y...

1 min read · [chaiwei.hashnode.dev](https://chaiwei.hashnode.dev/leveraging-forks-in-your-projects-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

[Mar 24, 2024](https://hashnode.com/posts/leveraging-forks-in-your-projects-a-step-by-step-guide/660082459c0ba0390defa2c4)

### [Invalid datetime format caused by Daylight Saving Time](https://chaiwei.hashnode.dev/invalid-datetime-format-caused-by-daylight-saving-time?utm_source=hashnode&utm_medium=feed)

Just today, I encountered a strange error on my production server. SQLSTATE\[22007\]: Invalid datetime format: 1292 Incorrect datetime value: '2024-03-10 02:49:20' for column 'updated\_at' Looking at the SQL code, I couldn't identify anything unusual....

2 min read · [chaiwei.hashnode.dev](https://chaiwei.hashnode.dev/invalid-datetime-format-caused-by-daylight-saving-time?utm_source=hashnode&utm_medium=feed)

[Mar 10, 2024](https://hashnode.com/posts/invalid-datetime-format-caused-by-daylight-saving-time/65ed88ece3de1988eabef36e)

### [Configuring Laravel Horizon with Cloudways Supervisor Jobs](https://chaiwei.hashnode.dev/configuring-laravel-horizon-with-cloudways-supervisor-jobs?utm_source=hashnode&utm_medium=feed)

While working with a client who hosts their Laravel applications on Cloudways, I encountered some limitations in the platform's control panel. There were certain features, such as different PHP versions for different applications, utilising Horizon f...

3 min read · [chaiwei.hashnode.dev](https://chaiwei.hashnode.dev/configuring-laravel-horizon-with-cloudways-supervisor-jobs?utm_source=hashnode&utm_medium=feed)

[Feb 26, 2024](https://hashnode.com/posts/configuring-laravel-horizon-with-cloudways-supervisor-jobs/65dc6a144eefb49179765b8f)

### [Upgrading Laravel Framework and Packages](https://chaiwei.hashnode.dev/upgrading-laravel-framework-and-packages?utm_source=hashnode&utm_medium=feed)

Securing your code is a journey, not just a destination. Keeping projects up-to-date with the latest features and security patches is essential for maintaining performance and safeguarding against vulnerabilities. As technology evolves, so do the th...

4 min read · [chaiwei.hashnode.dev](https://chaiwei.hashnode.dev/upgrading-laravel-framework-and-packages?utm_source=hashnode&utm_medium=feed)

[Feb 23, 2024](https://hashnode.com/posts/upgrading-laravel-framework-and-packages/65d8d509c14afb54cd467336)
