---
title: "Shital Mainali (@shitalmainali) | Hashnode"
description: "Just writing codes for fun. Read the latest articles by Shital Mainali on Hashnode."
url: "https://hashnode.com/@shitalmainali"
---

@shitalmainali

# Shital Mainali

@shitalmainali · Osaka, Japan · Joined February 2023

Just writing codes for fun

[Website](https://me.shitalmainali.com.np/)

### [A Practical Way to Handle Large ZIP Imports in the Background using Laravel Commands](https://www.blogs.shitalmainali.com.np/a-practical-way-to-handle-large-zip-imports-in-the-background-using-laravel-commands?utm_source=hashnode&utm_medium=feed)

IntroductionMany organizations need to handle the upload of large files containing bulk data. A single file might contain hundreds or thousands of records, each with several images linked to it. If the system processes these uploads in one immediate ...

5 min read · [blogs.shitalmainali.com.np](https://www.blogs.shitalmainali.com.np/a-practical-way-to-handle-large-zip-imports-in-the-background-using-laravel-commands?utm_source=hashnode&utm_medium=feed)

[Feb 7, 2025](https://hashnode.com/posts/a-practical-way-to-handle-large-zip-imports-in-the-background-using-laravel-commands/67a553e142c9894466d0cd91)

### [Solving the Issue of Potentially Polymorphic Calls in Laravel PHP](https://www.blogs.shitalmainali.com.np/solving-the-issue-of-potentially-polymorphic-calls-in-laravel-php?utm_source=hashnode&utm_medium=feed)

Potentially polymorphic calls can cause runtime issues when the expected class instance lacks the required properties or methods. Proper PHPDoc annotations and type hinting solve this problem efficiently. The Problem Consider the following method: /...

1 min read · [blogs.shitalmainali.com.np](https://www.blogs.shitalmainali.com.np/solving-the-issue-of-potentially-polymorphic-calls-in-laravel-php?utm_source=hashnode&utm_medium=feed)

[Dec 27, 2024](https://hashnode.com/posts/solving-the-issue-of-potentially-polymorphic-calls-in-laravel-php/676def62cd70d71eca4a211c)

### [Fixing "Blocked by CORS Policy" Errors in Vue.js and Laravel: A Practical Guide](https://www.blogs.shitalmainali.com.np/fixing-blocked-by-cors-policy-errors-in-vuejs-and-laravel-a-practical-guide?utm_source=hashnode&utm_medium=feed)

Have you ever run into the dreaded “CORS Policy” error when connecting your Vue.js frontend with a Laravel backend? If you’re seeing messages like: “The request client is not a secure context and the resource is in a more-private address space…” …y...

4 min read · [blogs.shitalmainali.com.np](https://www.blogs.shitalmainali.com.np/fixing-blocked-by-cors-policy-errors-in-vuejs-and-laravel-a-practical-guide?utm_source=hashnode&utm_medium=feed)

[Nov 5, 2024](https://hashnode.com/posts/fixing-blocked-by-cors-policy-errors-in-vuejs-and-laravel-a-practical-guide/67299de5777816f99e43a049)

### [How to Ensure Flawless Code Quality in Docker with Laravel Pint and PHPStan](https://www.blogs.shitalmainali.com.np/laravel-pint-phpstan-docker-code-quality?utm_source=hashnode&utm_medium=feed)

Are you struggling with inconsistent code quality in your Laravel projects? Does your team spend too much time fixing code style issues and hunting down bugs that could have been caught earlier? If these challenges sound familiar, you're not alone. M...

5 min read · [blogs.shitalmainali.com.np](https://www.blogs.shitalmainali.com.np/laravel-pint-phpstan-docker-code-quality?utm_source=hashnode&utm_medium=feed)

[Aug 26, 2024](https://hashnode.com/posts/laravel-pint-phpstan-docker-code-quality/66cc0bd3b0424f7f9110645e)

### [Resolving CORS Issues in a Laravel and Vue.js Application](https://www.blogs.shitalmainali.com.np/resolving-cors-issues-in-a-laravel-and-vuejs-application?utm_source=hashnode&utm_medium=feed)

Struggling with CORS errors in your Laravel and Vue.js project? This comprehensive guide covers step-by-step solutions to fix CORS policy issues.

4 min read · [blogs.shitalmainali.com.np](https://www.blogs.shitalmainali.com.np/resolving-cors-issues-in-a-laravel-and-vuejs-application?utm_source=hashnode&utm_medium=feed)

[Jul 12, 2024](https://hashnode.com/posts/resolving-cors-issues-in-a-laravel-and-vuejs-application/6690e067e988992273519e6d)
